A good read on the subject is "Dying for an iPhone" by Chan. The book documents the last 20 years or so of Apple's labor interactions with Foxconn and makes a fairly compelling argument that Apple, like most other companies, says one thing and then does enough to be seen "doing something about the problem" while not actually doing anything of substance (the problem with the suicides was that they were getting ripped apart in the press for it, so the solution was to make it harder to commit spectacular suicide).
It also documents the "creative abuses" that local governments and Foxconn seem to have with schools and such - "internships" that are not optional, are claimed to be CprE/EE/etc, and are really just bonus labor for the busy season. "Your degree is nice, now turn this screw."
It's hard to say where Apple's responsibility ends and Foxconn's begins - the two are woven so tightly anymore that the boundaries are blurred. Major chunks of Foxconn's operation are purely Apple assembly plants, and Apple, of course, literally wouldn't exist today without Foxconn.
I've decided that I'm done with Apple for now and have been seeking alternatives (Kobo Elipsa for PDF references, PineBook Pro for laptop, and a little flip phone for cell connectivity at the moment) - it was their labor practices, on top of their eagerness to do on-device content scanning, and a few other things that just pushed me over the edge.
Unfortunately, there's not really a good space in modern tech that remotely qualifies as "ethical to use," anymore. I've been trying to go down some weird roads of low power ARM systems, but a lot of those are still made in China. At least some of the Rpi boards are made in the UK, and Purism has the USA-made Librem 5 at some significant cost.
Unfortunately, the only sane answer I keep coming to is that the best solution is to abandon consumer tech entirely. It's the field in which I've made my living, and there's certainly some good to come out of it, but if you trace where the hardware comes from, and then look at how the software is designed (to capture all the behavioral surplus it can for the surveillance capitalism processing pipeline, Zuboff's book goes into great detail here)... it's slavery for the hardware and human-toxic psychological exploitation for the software.
The less I use the stuff, the less desire I have to use it.