Some of that is the fault of TSMC who have raised their prices 20% over the last two years and will raise them another 9% come Sunday January 1 ....
Their input prices have gone up, though. Not only that, but you have issues like Taiwan's unprecedented drough, causing them to have to bring in water, and helium has been in critically short supply after
something happened in Feb. 2022 (I'll let you guess where most of the industrial helium comes from). We've also read about substrate and wafer shortages, which means
those prices go up. I'm not trying to say TSMC is an angel, but it's not 100% profiteering on their end.
the Profit margins for Pro products is considerably higher than the slim margins for consumer products which is also the reason consumer manufacturing moved over to China while Industrial manufacturing with it's higher margin largely stayed put.
Your analysis is flawed. Plenty of consumer products have cushy margins, if we take Apple as an example. Meanwhile, the
list prices for industrial products might be high, but we all know those prices are
negotiable.
What tends to get outsourced first is the highest-volume, most labor-intensive manufacturing. Textiles are a perfect example of this. Then, countries try to move up the value chain, but it becomes harder to move manufacturing that's more specialized and the value of doing so is less. That limits the "push" and "pull" factors for moving specialized manufacturing. And if we're talking about heavy industrial & farming equipment, like in some of your examples, non-trivial shipping costs would also affect the calculus.