The Bay Area has always been particularly badly segregated. Palo Alto is wealthy and posh, East Palo Alto is a dump. San Jose boasts huge tech companies while East San Jose is full of gang fighting. I grew up in one of these violent areas of the Bay (starts with East but that's all I'll mention publicly) and the gap in resources is huge. Bad schools, poor libraries and community spaces, poorly maintained parks, unsafe neighborhoods, no pedestrian affordances, high speed badly maintained roads, the list is endless.
The Wire is a great show that goes into some of the politics and challenges of America's containment style of policing.
Everything is spot on. The Bay Area, but especially SF has a very incestuous and parochial political culture due to how historically NorCal was a backwater compared to LA, OC, and SD.
That said, a lot of Old Money also moved away to Marin, LaMorinda, Alamo, Danville, Hillsborough, and Woodside in the 70s-90s.
In San Francisco, that bargain is unraveling.