Again containerization happened in the 1970s and 1980s. The China Shock was 2000-2010.
What technology was invented in 2000 that allowed everything to go to China? No technology. That was the year the US adopted Permanent Normalized Trade Relations with China. It was a government policy change!
By the way the US already had trade relations with China. All PNTR did was promise not to change the policy in the future. That was the starting gun that signaled to all American companies that they should start investing in production in China.
So would globalization happen on some scale just because of the march of technology? Sure. But the way it happened, the speed at which it happened and the extent to which it happened, were the result of policy choices.
I'm pretty sure that China demonstrating that they are a stable country, that they want foreign investment, that they won't gank your investment two weeks after you make it, and that they aren't going to do another Great Leap Forward may have had something to do with why foreign investment in it skyrocketed.
This sort of thing takes time, and by the 00s, enough time (and a recent Hong Kong transfer that did not result in mass liquidation) passed, and foreign investors were gaining confidence.
The world, and especially China has agency of its own, it isn't sorely driven by whatever American policy is it's flavour of the week.
Offshoring to Asia began long before it moved into China. What you are describing is the acceleration point of the trend.