Miele is one brand that seems to show that it's still possible (to build lasting and repairable). But it's expensive, very expensive, and repairs themselves are not cheap. I would say, too expensive overall to become a default choice.
Parts are another story.
I have miele Washing Machine. It has brushed motor so after ~8 years I need to replace brushes. Miele ones cost 60$. That's 20% price of cheapest washing machine I found on market. Im' sure 40$ of that is handling those spare parts across many years.
Other, more complicated components cost more than cheap, other vendor washing machine.