This problem can be solved by good lawmakers, good public servants, and a good amount of public will.
If I had to take a crack at it, it sounds like this would be solved with taxing corporations as landlords in a similarly punitive way. I'm fine with one corporation owning one apartment complex as a service for transient people, but I'm not okay with a corporation owning multiple properties and making their bag entirely via enshittifying people's housing and jacking up rent.
If we're worried about a person having ownership in multiple companies that each own one apartment, we can solve that too. Again, I'd focus on tracing back ownership of these assets and taxing those individuals accordingly. If a person owns 10% of 20 companies that own an apartment building each, they should be taxed like they own 2 apartment buildings. Abstraction and obfuscation should not be a successful defense against supporting the society one is a part of. We all have to do our part, and we will be better off if we did both as individuals and as a collective.
Honestly not missing much lol. There's like 1000 hours of good TV content in total out there IMHO.