Tail wagging the dog. Land costs wouldn't be millions if you couldn't turn the thumbscrews on tenants.
To be a little less glib, it's easy to imagine other non-profit funding structures such as co-ops and government help (dirty phrase in the U.S. I know).
I imagine a lot of the costs of actually building would decrease a lot when remove the incentive for NIMBYish building codes.
There would be challenges as you point out, but the overall situation would be much better for all of society.