Miele, Bosch, and Speed Queen do the old-school engineering based on failure analysis and have basically the same reliability as the super-simple machines from the 70s and 80s, so 20 years is a common lifespan with outliers in the 30- and 40-year range. If you adjust for inflation, you find that the super-simple machines from the 70s and 80s cost basically the same as machines from these more expensive brands, so if you care about filling landfills with broken appliances, you should probably consider purchasing them and supporting the business model.
No one would make cost-engineered stuff that fails just outside the warranty if people didn't buy it.
Speed Queen is the ONLY washer dryer brand I would consider. I currently have a Kenmore set from 2001. Works great.
Bosch has been making washing machines where replacing the drum bearings is not supported (the bearings are sealed in a plastic housing) for a while now, not sure if this is the case in all of the models or the cheaper ones only.