This is the whole point of globalization. Companies go and pay next to nothing for labor that would cost vastly more in developed nations. Ideally it gradually helps build up an economic system in the targeted nations at which point they move onto the next country where they can pay as little as possible and so on, again ideally gradually developing the entire world as you skip from nation to nation.
As a 'closer to home' example, IBM now has more employees in India than anywhere else. Here [1] are the Glassdoor figures for IBM India. The average compensation for a "software engineer" is $8390 per year - about $23 per day. If we assume an 8 hour work day that's less than $3/hour. Bump that up a bit because of time off/holidays and the average real compensation is going to be around $3.50 an hour. And that's for a software engineer at IBM in India, which is a 'less undeveloped' nation than many others. $1/hour for mindless tasks is already not looking so bad.
I'm not a fan of globalization, but for different reasons. It may be arguably exploitative of less developed areas, but it also has a negative affect on more developed nations as well. IBM can hire a dozen software engineers in India for the price of one graduate in e.g. America. There's a reason they're shifting their labor to India. This is completely fine, yet then they turn around and continue to rely on the US as the primary market for their products. E.g. in the case of Figure Eight they source their labor from the poorest places on this Earth and then turn around and sell the 'product' to Google, Facebook, Twitter, Mozilla, American Express, etc. [2]
---
To clarify one thing, I do not think engaging in these practices is morally wrong. My objection is of a social/economic nature. I think these practices are a net negative on the countries where these companies' sell their product while sidestepping their labor standards and wages in creation of that product. In other words this is a practice I would engage in as an individual concerned for myself, but simultaneously lobby the government to work to curtail as an individual concerned for my nation.
[1] - https://www.glassdoor.com/Salary/IBM-India-Salaries-EI_IE354...
[2] - https://en.wikipedia.org/wiki/Figure_Eight_Inc.