That is not something that companies like Google are equipped to provide. Not by a long shot. It would not even be legal for them to take that situation into their own hands. The government of San Francisco is the most immediate entity actually in a position to do something there.
If the government of San Francisco needs more money to do their job, then you should be asking the government of San Francisco why the hell they aren't raising that money by, perhaps, taxing Google.
Asking why Google did not do anything is farcical.