People keep trying to either spin globalism as evil or good, but it's neither. It's just something that was going to happen no matter what. The US does not have a say in whether it happens. If the US doesn't figure out a way to make it work for them, then they'll be replaced by whichever country does.
The answer is not passing laws for tariffs or thinking the US can race to the bottom with low wages and manufacturing. The world desperately needs advanced technology and medicine, and the US should be focused on that, not stupidly trying to compete with literally every other single country on Earth on things any country can produce.