Don't know about the power grid, but about half the water supply in Mountain View comes from local wells, so it would not be
as affected as SF, but part of the rest comes from Hetch Hetchy, so there could still be problems. Not sure if local resources get reallocated in emergencies.
http://www.valleywater.org/Services/CleanReliableWater.aspx