Apple, when you had repairs for a device, rather than repairing it, have actually ended up just throwing away the old device in favor of swapping for a new one.
The past 6 years, they've made devices with no serviceable parts. Your RAM, Storage, Keyboard, among other parts - are all soldered to the board, riveted to the chassis, or glued shut. There is no way to service those machines. Once your Flash chips die, you need a whole new motherboard.
Sure, Apple recycles some of the parts of the device, but environmentally, it's much better to support and repair a device than it is to simply crush it and recycle it.