The ghost cities have attracted residents over time, but they're still mostly empty. Constructing buildings that sit vacant for a decade or more is not very efficient - and the buildings depreciate with age whether they are occupied or not.
Gluts and shortages are endemic to centralized economic planning.
https://www.bloomberg.com/news/features/2021-09-01/chinese-g...
Or via Wikipedia since it’s paywalled:
https://en.wikipedia.org/wiki/Underoccupied_developments_in_...
Google "critical media analysis".