China is definitely a cautionary tale that just building extra housing, even absolutely absurd amounts of extra housing to the tune of tens of millions of extra unused units, isn't enough to address the affordability in housing crises.
The problem in China, like pretty much everywhere else, is treating housing as a "surefire" speculative investment that is always increasing in price.