Yet China is a global superpower and shut off from immigration
There was a recent study from Peking University which hypothesized that the population actually peaked in 2018 and is already shrinking. (government numbers are unreliable)
Also we might argue that the Chinese "self-migrate" with a huge amount of students that go for studies outside China but return later.