For the record, it is 24th in the world:
* https://en.wikipedia.org/wiki/List_of_cities_by_population_d...
And there are other French cities above it: Levallois-Perret is 8th at 26,432/km^2.
All this to say: the closer you look, the harder it is to rank places by population density. The comment point was that high population density can be reaching without high rises.
[1] https://en.m.wikipedia.org/wiki/11th_arrondissement_of_Paris
* https://smartdensity.com/mid-rise-buildings-that-work-the-pr...
The giant vacant housing inventories have not gone down much over the years. Cheap housing sells well, but giant mansion apartments that got trendy at around 2012-2015 are really unsellable, and there were really a lot of them built in urban centres.
Believe me or not, Shanghai has few places with 10 years old "brand new" apartments.
Rents in China are still super cheap in comparison to the property and land price.
That is why the rhetorical enemy of communism in China was "landlords". It's why a fundamental platform of the current CCP is that landownership is illegal. ("the land belongs to the country", 土地是国家的)
Housing is pretty much the only thing in China that has generated positive return on investment.
Getting any place within ten minutes taxi ride of a metro occupied is easy. Might be hard to sell it but you can rent it easy.
When they were put on the market 10 years ago, they were sold at such unimaginable, even for China, markups that even multimillionaires would've not gone for them. It was clear that the only buyers for them would've been some nouveau riche suckers.
They will not find buyers these days anymore. The example above is still on the side of the extreme, but say 3-4 year old developments being 50% vacant is a norm for 200m2+ apartments.
See a bit what Le Corbusier was doing with its "Unité d'habitation": A large building that also included amenities and a park around it.
Edit in response to Barry below: Whatever Le Corbusier's faults, "Unité d'habitation" [1] was indeed designed to be pleasant and liveable, and including a school (originally) and a floor for shops and amenities.
Le Corbusier’s ideal city was something like Brasilia, which he designed. Hostile to pedestrians, made for motorists, with no mixed use spaces anywhere, with residential, commercial and industrial spaces completely separated.
There probably aren't:
* https://en.wikipedia.org/wiki/Towers_in_the_park
Toronto is demolishing its community housing that was built this way and rebuilding in more modern ways. The residents hated it.