This line of reasoning is flawed. The government can build housing so that people have places to rent, in a way that isn’t “an investment” in the profit-seeking sense. That’s what they do in Vienna and it seems to work great.
https://www.huduser.gov/portal/pdredge/pdr_edge_featd_articl...
And then in Singapore they have very high home ownership rates, so we could also be dramatically reducing the number of people who actually need to rent, reducing the need for private investment:
https://charterforcompassion.org/shareable-community-ideas/p...