Auto manufacturers have been doing this for decades when the US started imposing tariffs on Japanese manufacturers back in the 1970's. To get around the tariffs and still get access to the US markets, they would simply assemble the parts of the cars here and bypass the rules of the tariffs. Many companies then started doing the same.
This effectively changed the behavior of the companies to avoid the tariffs. The end result was more manufacturing and assembly plants here - even though most of the big production tasks of the vehicles were still done overseas.
Also, there's already been several announcements of companies moving their manufacturing to the US in order to avoid getting hit with tariffs:
https://finance.yahoo.com/news/nvidia-commits-500-billion-to...
Nvidia (NVDA) on Monday said it will produce up to $500 billion of AI infrastructure in the US within the next four years as the tech industry looks to bolster its domestic manufacturing footprint in the face of Trump's approach to trade policy and desire to onshore more US heavy industry.
Also, Ford made some moves to avoid both US and European tariffs:
Less than a week after the White House announced its comprehensive set of tariffs, the Dearborn automaker exclusively revealed to Ford Authority its comprehensive plan to relocate all of its assembly plants to Hawaii. The move will be made possible by state of the art 3D printing technology and has the support of the United Auto Workers.
In any event, Ford envisions Hawaii as an export hub for markets outside North America and a key pillar of the company’s domestic production capabilities. Ford will utilize an obscure maritime law from World War II as a way to get completely around European and Asian tariffs, as the original intent of the legislation enabled private companies to avoid punitive trade measures to get badly needed supplies to the Allies at the height of the conflict.