Using Singapore as an example, 80% of the population live in public housing in Singapore.
Over the decades, Singapore centralised the planning permission system and nationalised land that wasn't actively being developed, to build housing for their population. Government used that land alongside non-profit building to build public housing for the people. This not only increased quality of housing in Singapore, but property prices did not increase for about 20 years, and is now only 15% higher than what it was in 1995. Over the same period, UK prices increased by over 150%.
And the entire thing was determined to be cost-neutral to the tax payer over the decades. I'd be thrilled if we did the same thing but if I suggested we do the same, people call me a communist!
Foreigners can still buy in private housing Singapore (but not public), but they have to pay a 20% stamp duty. Citizen or foreigner, have to pay about an extra 12% stamp duty on second properties. Companies have to pay 25% stamp duty.
Beautiful.