And yes, I would definetly say it's a problem if workers in a factory can not afford the goods the factory produces.
Even if the factory is producing high end sports cars or precision engineered industrial machinery?
For that matter I doubt even the CEO of Boeing could afford most of the 'goods' made in his factories.
The CEO of Boeing can probably still afford to take a flight on a plane made by his company, and that probably is true of an average worker of a Boeing factory as well.
So let me rephrase: if people working in a factory can only afford the very basic necessities and the actual goods the factory produces get shipped to the other side of the globe (and waste gets left behind), something is not right.
I mean I kind of get the point you are trying to make, but Foxconn and iPhones aren't really a good example of that.