There is a dire shortage of skilled and blue collar workers (nursing, construction, sanitation etc.) in Japan. So much so that a country like Japan is considering indefinite residence for these workers [1].
China is a very populous country now and is in its demographic golden age. It can do fine without any inward immigration. But with rapidly cratering birth rates it will be interesting to see what China does in next few decades to solve the problem.
[1]: https://www.aljazeera.com/economy/2021/11/18/japan-mulls-ind...