Of course the Bay Area is actually diverse. But I’m skeptical that tech companies actually care about these communities. They care about close proximity to a large population of engineers.
At the end of the day, the workers the tech companies are competing for do care and that's what matters.
They don't seem to particularly care about the resulting demographics and occasionally get caught with insensitive assumptions like algorithms that fail to detect dark skinned people due to bad assumptions about how light reflects but they don't like the close-mindedness of xenophobes and homophobes.