Second, we should not hope that an opponent does worse than us to make us look better but we should simply better ourselves in the first place. Currently I'm seeing only decline and disunity in the western civilization, very short term thinking and lack of vision, but I'm aware that's just a phase that is possible to flip anytime.
The question is whether they will fall soon enough
This lack of immigration probably wouldn't be easily reversed, because Chinese governance and perhaps culture aren't well suited to absorbing heterogeneous groups.
IMO China doesn't need immigration to survive the demographic crisis, it needs excess labour to manage the transition, declining / smaller total population is the goal - simply too many people right now. Tons of labour can be arbitraged between poor and rich provinces or imported from poorer neighbors on remittance basis without the massive welfare commitments of immigration. Western countries with comprehensive social welfare systems sustained by massive immigration have greater risk of collapse - note all the protests happening in first world countries due to system already fraying. Versus China where the bottom 50% will incrementally improve because they're barely above poverty in the first place. The income gap is so massive that it takes relative less resource redistribution to maintain stability. When 600M / 40% of the population accounts for 7% national GDP, a few years of "slow" national growth @5% generates enough wealth to increase their welfare by 40%. Compared to west where all signs indicate each generation will struggle more than the previous, combined with massive immigration and you have recipe for political instability. Unsustainable social safety net and demographic change due to immigration is as much of a ticking time bomb as declining demographics.
The only thing that could challenge that is:
1) World war (please no)
2) China is chopped up (but that's why they crack down on Hong Kong, Taiwan, etc)
So I think we might see another rebranding about what it means to be the n1 economy. Or they might come up with a new metric hehe.
The fact of the matter is that China's rule won't last long because:
1) It's governed by a bunch of hand picked corrupt and ignorant bunch called the CCP (although they've done propaganda and brainwashing far better than the USSR, I'll give them that)
2) There's a demographic bomb incoming for China (not enough children).