Of course. Most of the outsourcing has been about labor costs. The US has among the highest labor costs on the the planet, the nations (Vietnam, China, India, Mexico, etc) that the US has heavily outsourced to - whether manufacturing or IT - are or were far lower net cost nations to do those outsourced things in.
What's cutting against the US is mostly obvious: incomes are very high, infrastructure costs are far too high (impacts almost everything in the cost structure in the US, from transportation to manufacturing), the effective corporate income tax rate in the US is among the highest (while many developed nations are aggressively lowering their rates), vast & rapid growth in economic regulations over the last 30-40 years, large expansion of general burden on business formation over that time (taxes, regulation, red tape, abusive zoning laws, etc.; leading to far lower dynamism in the US economy, weak productivity growth, perpetually falling new business formation, etc).
By that reasoning, IBM is outsourcing from the US for exactly the same reason virtually all the other companies you listed are.
Sure, something about the US helped them to exist and thrive. And something about the US is helping them to outsource.
The argument cuts both ways.