If governments are looking at Chinese-Taiwan relations, and gaming the result of an occupied Taiwan, those supply chains become profitable pretty damn quickly.
The USG is perfectly happy to spend taxpayer money and foreigners' money to make their corporate constituency happy even if the financial equation is overall negative.