I can only speak from personal experience, but whenever I've hired folks, that information was only shared with HR.
Requiring companies to collect these statistics helps add hard data to any future lawsuits. It can provide an insight into whether or not members of protected classes have been systematically discriminated against during certain phases of the hiring process.