Yes, you've won capitalism, but sometimes, profit is a lower priority. Resiliency and the ability to avoid critical supply chain dependencies are important too. We learned that during COVID, when we only had one facility to make baby formula in the U.S., and we had a dire shortage of masks, gloves, etc. because we imported it all from China.
Another aspect of resilience is avoiding long attenuated supply chains, even if it is cheaper...for now. Why? Because there is a finite amount of fossil fuels (necessary in greater amounts for non-domestic maritime and air transit). Also, lower fossil fuel usage due to in-country sourcing would be better for the climate. I realize that the Trump administration isn't concerned about that! But it is true regardless.