I mean they would prohibit all vital operations of these companies in China. What would Apple do if China will give them a Huawei treatment?
They wouldn't even be able to move away from China, if their Chinese suppliers would be told to cease doing business with Apple globally.
Pretty much every globally prominent company dealing with light industries, manufacturing, electronics has some things in their products which they cannot reasonably expect to get elsewhere but in/from China.
Second to that: check what you saw in the previous half of the year. A lot of living essentials are made almost solely in China. Would US elites be ready to deal with angry unwashed masses who, with some help, and incitement, would go torch their houses because they can't get not only their new Iphone, but basic medicines, clothing, car parts, basic household goods, widgets for their businesses, and such?
Unless Americans are ready for that, they can't fight China, and the people in Beijing know it very well.