I have a 25 year old washer and drier that is made like a tank. It's all mechanical and has no electronics to fail. There are no cheap plastic switches to crack and break. Only thing its needed over the years is a new belt, a safety thermister replaced and a spring. Also a good full interior lint cleaning.
The washer needed similar repairs. I have changed the main timing mechanism behind the main cycle knob and the door latch/switch failed once.
I have heard horror stories about the new electronic washer and driers going out of warranty, and then having the main electronic brain fail and the manufacturer no longer making hte part. This is on several thousand dollar units.
They just dont make things with the same quality as they used to.
I have an Electric GE oven that was made in Kentucky and is 35 years old. I have changed out the elements in the oven and on the range itself as well as the drip pans and the mechanical thermistat and it still cleans up like new. The baked on paint is forever and the oven can still be cleaned to new condition inside. When I went to the parts store to get the oven door gasket replaced, the older guy at the parts counter told me that if I was ever to replace my stove/oven to give him a call and he'd be happy to take my old one off my hands.
Some things don't need to be complicated and computerised. Old fashioned relays and mechanical gears and overbuilt motors on appliances built back then were designed to last forever and not be disposable and made of plastic that will become brittle and break. Appliances made now are meant to start breaking soon after the warranty expires.