The reason "not building" is not the issue, is because even brand new homes are being scooped up in investments.
Raise property taxes for all non-occupied, airbnbs, and fuck even rentals, and while it might cause rentals to temporarily go up, housing prices will drop like a brick. Make it unreasonable to rent out a home. Heck make it unreasonable to own a second home unless you're Bill Gates.