My understanding is that under the Consumer Rights Act (UK, 2015) there is no statutory limit on the period goods should last except the expectation of consumers. So, realistically things should last "about as long as expected".
IMO this works quite well, a cheap but of electronics from a pound-shop has to last 2 years (until the end of the Transition Period), a washing machine would be expected to be running after a decade (or more) unless perhaps it was a really budget offering.
It's practical, though I'd like a steadily inflated underpin to warranty periods too force companies to remove their planned obsolescence and make things more repairable.
https://europa.eu/youreurope/business/dealing-with-customers...
Consumers are entitled to a repair or replacement, for proven manufacturing defects in the UK "Statutes of Limitations" consumers have this right for six years in England and for five years in Scotland.