This is practically unavoidable because of how economies work. People want to live near jobs, and jobs want to be near people. So we get congregations of people (urbanism).
It's not like these tech companies actually want to be in a high COL area paying out big fat salaries and paying exorbitant rent on their "campus" nobody cares for. But they want the talent, so they play ball.