Traditionally, successful businesses in a region paid taxes, and those taxes were used by the local governments to invest in infrastructure like public transport and urban development.
So in this regard Google usurps the mandate of the community government in favor of using their excess profits to invest in the community that only benefits them (well peripherally it benefits others as Google employees would otherwise burden city services)
What is wrong with that picture is of course that the people without advocates are literally left out in the cold. From the article Google is investing $1B in better housing for their employees and putting $18+3+1.5 ($22.5M toward homelessness which is 2.25% of a billion dollar investment. Contrast that with if Google paid $1B in taxes to the bay area communities where it has facilities, would those governments have the same priorities for those funds?