Before opening up in 70s, China had acquired the ability to build by itself: huge numbers of machine guns and grenades, tanks, fighter planes, rockets and satellites (aka missiles), nukes.
These minus nukes and missiles plus battleships is pre-WWII Japan.
This may be helpful if you're curious why so many countries that choose free market instead of Communism after WWII are still not industrialized today.