Bottom line
From the point of view of the employers, this is all about the bottom line. And attracting talent to Palo Alto always costs more than attracting it to someplace where it's cheaper to live.
However, it will be interesting to see if the talent they attracted stays with the company when switching to remote working at another company is as easy as changing a browser bookmark.