In the US, cities frequently have "zoning requirements" so it's very difficult to get a new high-density structure built in a neighborhood of 1-floor single family homes. Also, NIMBY groups usually have a veto vote of sorts, which makes it more expensive for a real estate developer to come into a pre-existing neighborhood and make more units (because it's a gamble and usually they have to spend more to acquiesce to the NIMBY if they are able to build at all).
Even when there is a rental price cap, that tends to only work in the short term and exacerbates supply/demand problems long term. San Francisco, for example, implemented a rent control system in ~1980. Since then, only 40% of rental units are eligible for rent control and lots of potential rentals stay off the rental market. There are loopholes which allow conversion of a rent-controlled unit to a market-priced rental and no new built units are rent controlled, so there is a bifurcation of the market. Rent controlled units are very affordable, but increasingly scarce. Market priced units are growing (slowly) in numbers, but cost 2x - 5x what a comparable rent-controlled unit does.