My experience (and this may be brand or price-point dependent) is the opposite. My Bosch had a couple of failures (that ideally would never happen, of course), but because the parts are fairly standardized and the design is very elegant, I feel like it's one of the last few "owner-repairable" items in the house.
The replacement parts were very reasonable (a fraction of the original cost of the dishwasher), easy and quick to obtain (from a particular retailer which also does very informative non-pushy YouTube videos for reparing/diagnosing problems), the diagnosing was straightforward (like debugging code), and the replacement was manageable (if a little cramped).
There may be a price cut-off where this starts being true, and where it stops being true. My particular dishwasher was ~$1k 10 years ago, has had ~$120 of parts replaced over that period, one of which was cosmetic, and has otherwise worked flawlessly. All in all, I'm very happy with that trade-off.
I just checked, and there are two control boards that could be replaced - each $150.
I'm pretty enamored with the engineering elegance of the dishwasher. Until I opened one up and had to fix something I always thought it would be a lot more complicated than it really is.