From my observational experience, and limited study on the issue, markets don't seem to be solving this optimally, at least in Melbourne, Australia.
Overall, the market for apartments seems to be supply constrained. The main factors:
1. Government approval is required to build large apartment buildings. In general, this seems to lag behind demand.
2. Large buildings take a long time to build
3. There have been a number of years of high immigration, especially in and around the CBD.
All of these factors combine to cause high prices. In a high price environment, many residents are stretched for cash. They essentially have to pick the lowest price apartment available. It's not uncommon to have multiple people sharing a room in order to decrease costs. This creates a high price floor. Mid range apartments don't tend to be much more expensive, simply because many residents are already super stretched financially and unable to afford the extra marginal cost.
As a property developer in a high floor, low marginal payoff environment your financial incentive is now to build as many low cost apartments as possible.
>> The majority of Victoria’s newest apartments are so small they would be considered unliveable in Sydney…More than three-quarters of new one-bedroom apartments built across the state are 50 square metres or less, which means they probably would have been illegal in Sydney, London and Adelaide. [1]
Making these apartments meet a reasonable minimum standard could only be less than 5% of the total cost [1]. To achieve this governments have tried to intervene by increasing minimum standards [2].
What concerns me the most is the longer term impacts. When demand drops off (as covid is pointing to), you have a massive supply of low quality apartments. Is the end result of this many vacancies and people living in shoe boxes when they could've been somewhere nicer?
There are a few long bows there, but as someone who lives in a relatively sunny but not quite sunny enough apartment that is my take.
[1] - https://blogs.crikey.com.au/theurbanist/2015/05/18/apartment... (great blog for planning issues)
[2] - https://architectureau.com/articles/victorias-draft-apartmen...