Note that Japan's population is not growing, though i'm not sure how the Tokyo region compares.
https://x.com/ModeledBehavior/status/1646151980966879232?s=2...
The housing itself is also cheaper. For example, indoor hallways in apartments are considered luxury.
So while the population of japan is declining as a whole, the metro areas are growing in size.