Real-estate prices have no bearing on 'value' of the land or materials. The buyer is convinced that he will get that money back and then some from the next sucker to buy it off him. It a pyramid scheme, detached from real economy.
However, part of the way we got here is specifically due to neighborhood segregation and zoning laws. People don't like their housing going down in value, so they protest anything that might cause it to do so. Whether or not upzoning would actually harm property values is not material: the fact that people believe it to do so is enough to get them to protest increases in the housing supply. This means that every local government is blocking housing supply and working to keep prices high, which makes housing an artificially safe investment, and thus encourages infinite speculation.
This will continue until we break the idea that home ownership = retirement plan and that dense housing = cheap housing = crime. Once that happens, then it makes far less sense to speculate on real estate and we can start unwinding this long con. The reason why maximum mortgage amounts are so high is that banks can't lose - if the the debtor pays off their investment in full, then the bank wins; and if they default, then the bank repossesses a house that is likely worth more than the principal of the loan, so they win. There's no default risk - if that were to return, then banks would be more skeptical of who they lend to, and that would put start quenching demand.
And even if that were not the case, with real estate climbing 8% or more per year, they are still in line for a huge payday if / when they choose to sell.
The landlord is the scourge narrative bugs me. There are for sure a bunch of terrible land lords especially the huge soulless companies but there are a lot of little family operations that don't try and gouge their tenants.
I don't begrudging the ppl who bought houses for their good fortune. I resent when those people block new development in the name of maintaining "historical character" or whatever other invented excuse to keep their own property values high.
Corporations are the boogeyman de jour but from personal experience, landlords / restrictive zoning / "anti gentrification" activists are the primary cause of my angst. I make more money now than I ever thought I would, but a truly staggering amount of it goes directly into my landlord's pocket.