Re: How does this work
Trump thinks tariffs are more powerful than they are. He sees them as triads of success because they hurt a foreign business, promote a domestic business, and earn money for the government. To give him his due, they do all of those things. However, they don't do all of those things equally, they don't last very long even if you keep them in place, and they come with some massive downsides which may outweigh all of the benefits if you use them on a whim. He uses them on a whim.
In this case, he seems to think that putting a tariff on imported chips will be enough to promote local production, and he would be wrong. The manufacturing can't be built anywhere near fast enough for that to be feasible. All he'll get is inflation on anything with a chip in it and anger and concern from Taiwan. There is no cheap way to make your country have a lot more semiconductor manufacturing capacity than it already does. As for loans, I don't know how well they would work. TSMC could already decide to build a fab in the US; they have or could get the cash, but they aren't choosing to for various other reasons. Your loan needs to have enough value to convince them to build the thing despite having another place they think would be more profitable to build it. That means you might have to give them a larger loan than a grant since it's not just about getting access to the capital. Basically the same problem, there is no cheap way to quickly make your country have a lot more semiconductor manufacturing capacity than it already does.