I place blame on the location of the tech hubs in the Bay Area. Not one mega-company, save Tesla, has setup shop in East Bay. There is affordable housing across the water, and new construction as well. Facebook has mitigated this somewhat buy purchasing Sun Microsystem's campus right next to the bridge.
Also, note that SF isn't the fastest growing housing market anymore, it's Seattle (https://www.seattletimes.com/business/real-estate/seattle-no...). Seattle didn't feel as much housing-pressure with Microsoft due to the remote location of its campus in Redmond/Bellevue. That's changing with Amazon; the sales giant is located in prime real estate, just like the tech companies on the peninsula.