A lot of companies get large investments from investors. Investors generally have a lot of stake in real estate.
Probably the same reason why small startups get fancy offices in the city center as soon as they get their investments, but there’s no budget for salaries.