A story relayed to me around 15 years ago by someone I was working for.
He owned a company making a component for Worcester Bosch for use in their boilers, after two years he got a call saying they hadn't had a single breakdown involving the said component, that's good he responded, NO, that's not good!
You must make it cheaper so it fails just after the warranty period ends!!! It was a €3 part,
A friend who used to repair our home appliances gave us the advice " if it's repairable then do it, it'll still be going when the replacement you buy has died"
It's a well meaning piece of legislation that's just a vote winner, the manufacturers will find another way to protect their profits, they have to.