Eh, there are valid reasons for corps to own housing. We just need strict rent control, and ratcheting taxes on vacant homes, so taxes increase when you have more vacant properties. Make it unprofitable to intentionally sit on empty houses.
That latter part is a large problem right now; Corporate landlords are buying thousands of houses, then intentionally only renting a few of them. By sitting on a bunch of vacant houses, they’re artificially reducing the supply and dramatically increasing rent in the few properties they do rent.
Hell, I’d even be in favor of increasing taxes based on how many homes you own. One or two houses? Great, that’s enough for a summer and winter home. But after that, taxes should dramatically increase so owning additional homes (to use as rental properties) becomes less and less appealing.