Not every company is good at everything, and the smartest and savviest of those companies, recognize the inherent advantages of doing only those tasks in-house of which they have a competitive edge or perform at a high expertise, and thereby as much as possible or conceivable, they subsequently outsource that which another company is more skilled, competent, or knowledgeable at. All of this makes eminent sense, especially if such outsourcing has no or little community or domestic downside such as a monetary penalty, tariff, or other adverse actions so associated with it.
So too, plenty of pundits spend an inordinate amount of time trying to convince people, that it is right and well-nigh dutiful to outsource that which can be outsourced for a better price, because that reflects a more efficient usage of capital, while also freeing up domestic labor for tasks and jobs more becoming for a country in the ascendancy. Clearly, if profitability and competitiveness is above all, the only real measure of the worth of a company, then outsourcing is the competitive advantage, that companies need to adhere to, without fail. The problem with this thinking, though, lies in the fact that when those profits for those companies that have outsourced a significant number of jobs that could have been performed domestically, is not subsequently proportionally re-distributed in some form such as through taxation, or inherent community obligations, then the concentration of capital becomes far more acute, because it now primarily rests in the hands of those that run those companies and their actuators.
Well-run companies have a very strong tendency to investigate ways of increasing both market share as well as profitability; so then, as a matter of good diligence, those corporations are going to look at virtually every aspect of what that company so does, from the simplest tasks to the most complicated and try to break those processes and duties down in a manner in which decisions can be reached as to whether or not, such should be performed in-house or outsourced so as to both save money as well as to increase efficiency. Quite logically, not only does that make eminent sense, but in consideration of the stockholders and board of directors of said company, it probably is their duty to do exactly that.
That said, from a countrywide perspective, the question should be asked, as to whether those corporations that are exceedingly successful in such outsourcing have an inherent obligation to their country of residency, to plow back some of those profits, into their home country so that it does not devolve into becoming a country with a few that have everything, and a significant swath of the population which has next to nothing.
We live in a world that has become ever smaller, in which many a developing country and its people have a very strong need for their constituents to work, often at a very favorable price for those engaging them in such. This outsourcing while clearly having benefits for those companies that contract such, also has its domestic downside, which needs to take into better consideration that domestic people of working age, need both good opportunity as well as fair employment at a fair wage.