I have a 22 year old 3 and a 26 year old 5. Neither have ever been in the shop for anything but tires. It's not fair or accurate to lump this in the same bucket as vw or mbz. I have bought quite a few parts from the dealer that cost less than $1, like plastic rivets or clips that I broke in the process of getting to something else. Toyota and VW want almost ten bucks for these sometimes. GM won't sell them to you. But my coolant is cheapest at the mbz dealer.
Unlike japanese makes, for anything that people have a need to replace, the original parts are sold on the aftermarket at fair prices. For my toyota, if I want a ball joint, I have to pay three times what it should cost at the dealer parts desk, or deal with junk from the aftermarket - and it's all junk. Datsuns, honda, same boat. Mazda, you're lucky if they even support your car anymore.
Americans define "reliable" as "runs forever on zero maintenance". Germans define "reliable" as "runs forever as long as you stick to strict maintenance schedules".
Very tempting cars with some of the nicest tech you'll find anywhere for as long as it stays working..
Once you get beyond 10 years, any mechanic will tell you the European cars are absolute garbage. Especially BMW, Audi and Mercedes will self destruct at some point after 10 years. And those parts cost a heck of a lot more than non-luxury brands. Sometimes, they won't even sell you a part by its own piece so you have to buy the whole assembly for 1000$ even if all you need is a tiny part that's supposed to cost no more than 50$.