If SF is being so hostile towards basically the driving engine of their local economy the best option is to relocate to a place where there are fewer restriction.
A build your own small city kind of situation. They can certainly afford it.
It's win-win Google gets their employes close to the office the employees get cheaper housing and if it's a large enough community you will be getting new people coming in opening shops and other stuff to take advantage of the demand.
The only one slightly worse off is SF with all the money leaving the place but it's not like they appreciate what they have now anyway.