The cash buyers from SF to Cupertino to Pleasanton are coming from China. Same in Vancouver, for example.
Why not do what the new Muslim mayor of London is proposing -- stop the foreign investment property buyers. They're the biggest reason the local population can't afford housing in both the Bay Area and London, even for households with two adults making tech salaries.