For laptops though, there's usually quite a bit of life left in "old" business laptops that can be purchased on the cheap from eBay.
I bought a Thinkpad T450 for $250 recently and replaced the battery with a brand new genuine extended battery for $120. Also did some tinkering with the storage, so I have 1TB SSD + 2TB HDD total (paid $200 for the SSD, HDD was migrated from old laptop). For <S$600, I have something I am pretty happy with.
Similarly, I bought my kid an ex-lease Thinkpad X1 Carbon for ~$600 for school. Great value there too.
I believe these legislations from the EU are definitely a step in the right direction. As long as companies are disincentivised from making dickish moves like non-removable batteries, anti-teardown casing, proprietary charging ports etc., there will be people in the population who will try to squeeze value from old gear and reduce the amount of stuff going to the landfill.
The worst offenders are actually devices that require a proprietary server/service to work. Once the service shuts down, the gear becomes effectively useless. It also makes recycling of old gear more difficult. Recently, a friend of mine bought a 2nd hand Segway scooter from eBay. Unfortunately, he didn't know each scooter is bound to the previous owner via an app. So you can't make changes to the settings unless the previous owner unbinds the device so that you can bind to it. Luckily he was able to trace down the previous owner and got him to unbind the device.
Come to think of it, doesn't 2nd hand iOS devices, and even Teslas, have the same problem?