Anyone who has worked for a large tech company in SF in the last 3/4 years knows that this has happened everywhere. In fairness, Google was one of the very last ones among large tech companies to play the quota game. But the problem is that that's a game that once the first company starts playing it, everyone else is forced to play it too. Company X publishes a report with amazing diversity numbers and brands itself…
If similar companies in the same industry and geography have numbers that show a more diverse demographic profile, the EEOC is much more likely to consider a discrimination complaint non-frivolous, which is required to file a lawsuit alleging employer discrimination (as I understand it; not a lawyer).
Companies play this game a) to protect themselves against lawsuits; and b) to potentiate damage to competitors who are not yet explicitly playing this game, and therefore have correspondingly less demographic diversity.