Though, they're likely to be attractive to employees who want to live within walking distance.
Sure your rent doesn't actually go up, but you are going to need to get a job that pays pretty well.
The Bay Area's land-use policies are directly responsible for the absurdly high housing costs and terrible road congestion. Too many jobs are in office parks, too many houses are in far-flung and low-density areas.
If Facebook can build 1000 apartment homes that would allow their employees to walk to work, they stand to benefit in huge ways. If that development can help subsidize 200 apartment homes for people who have been displaced by the skewed housing market, all the better.
At least that's how I read their motivations.
I imagine Facebook has similar considerations. Housing and traffic are major issues in Silicon Valley.
Plus, the types of companies we're talking about have wads of cash that they're not returning to shareholders (yet). Real estate investments could provide better returns than a a number of other financial instruments. Win-win. :)
though not FB, I know someone in California who lives in company-owned housing. the person recently decided to leave the company. sure enough, the company is indeed forcing them to move out too.