If a nation wants to maintain robust internal supply chains, it can simply subsidize or pay for that capacity directly in various ways that are much more (economically) efficient than charging tariffs.
Why are subsidies more efficient than tariffs?
Why are subsidies more efficient than tariffs?