The shortages in chips for cars is not about outsourcing. It's about poor planning from the automakers. In Q2 of 2020 the auto manufacturers cancelled all of their orders with chip suppliers thinking they wouldn't sell any cars.
The chip manufacturers were happy to shift that production over to electronics that are higher margin. Now autos are in the back of the line. That would have happened if the fabs were here or anywhere.
Toyota has destroyed everyone else this year because after the tsunami in 2011, they started a plan to keep several months of critical components in inventory (like chips.) In Q2, Toyota topped all other manufacturers in US new vehicle sales. It was the first time since 1998 GM wasn't number 1.
If the auto manufacturers had planned better, it would still be tight, but hundreds of thousands of vehicles would not be sitting around near factories waiting for chips.
It's the same problem lumber faced, everyone likes to blame lumber mills for high prices and shortages, when in reality, 2020 lumber production in North America was 1% higher than 2019. It was the poor planning by lumberyards, dealers, and distributors that caused the lunacy we saw earlier this year.
https://techxplore.com/news/2021-08-chips-semiconductor-shortage.html
Build more plants in the United States.