A technology-driven manufacturing revival is coming to welcoming states as Biden-era legislation and Trump’s tariff threats encourage domestic and foreign companies to build factories across the United States.