A new Hyundai plant hints at how foreign carmakers may look to expand U.S. operations to soften President Trump’s tariffs, and how local economies may adapt.