I bet even Apple, Microsoft, Nikon, Canon, etc. have contingency plans in place to move or restart production outside of China if products from there became unavailable.
The real challenge is to enact the ban. What will it take? Death of an American at the hands of the Chinese mililtary? Will we do it even then? We already have skipped over China and India partnering with Russia, thus allied against us vis-a-vis Ukraine and elsewhere, yet we still import cheap products from China and cheap labor from India.