Amazon could exist - perhaps not quite to its current scale - without owning its warehouses. It would pay more, but the workers would not earn more. That profit would just be spread across different fulfillment companies and shipping enterprises. It's not as if with Amazon these workers are getting $10/hr but without Amazon they'd be making $25/hr. They'd still make $10/hr just with a different name on the paycheck.
You are correct, Amazon without warehouses only pushes the problem one step out to their fulfillment / shipping companies. The only way to rehabilitate Amazon (from evil to not evil... still far from good) would be for them to pay their employees (ALL of them - not just the tech workers) a livable wage, and for them to only sell things that have been made with non-exploitative labour practices.
The way I'm seeing it - the more you control the situation, the more guilty you are of the exploitation. Amazon controls who they work with pretty fully - but when I look at gates-era microsoft, I work my way out from their direct employees to the companies they work with, and I can't find the exploitative labour until I hit the PC manufacturers that were buying windows to put on their PCs. Maybe I'm missing something, but that feels pretty far out of their control - I'd place my blame at the feet of Dell or Compaq, not MSFT at that point.
The only workaround I've found for ethical consumption is buying second hand, which dilutes my contribution to these industries a little
Add the fact that the deadlines on product announcement and shipping are very strict, so the pressure on workers assembling iPhones is the biggest. Stress with assembly of other manufacturers' phones is nowhere near than that of Apple's.
Samsung, I think, assembles phones in Vietnam, where labor conditions are better than in continental china.
When you are a company the scale of Amazon you have no excuse to not treat the people who make your services possible well. Of course there will be different levels for different jobs, but Amazon should have treated their employees with respect and been using their weight to lift the wage floor.
This of course is true for all companies but especially for the giants.