The chips act used tax dollars and subsidies to incentivize companies to build here. This and tariffs on semis are not much different the only difference is with a tariff you only pay the tax when you buy imported goods
Subsidies ensure a certain sector has money. CHIPS pays for semiconductor fabs no matter what. Tariffing foreign semiconductors doesn't ensure there will be money for semiconductor fabs here - there could just be no semiconductors at all.
There will not be zero semiconductors. Tariffs incentivize domestic production by raising imported prices allowing our industries to be competitive. There is no world where the military and industry just don’t have processors anymore they will be forced to invest locally that’s THE point of tariffs traditionally (see: the us after its founding)