As complexity increases so do maintenance costs. Combine that with the trend of proprietary information systems built into the operation of these vehicles where the diagnostic equipment is not available to end users and the costs are even higher as you end up a slave to shop service rates.
All systems fail. The question I've always asked myself is whether or not the system I have is a solid foundation that can still serve it's purpose. Assuming I have a solid platform, then how long I keep a vehicle is usually dependent either upon rust or when the cost to repair it is more than buying an equivalent one that has had the same repairs and upgrades already done.
I don't remember having had any problems, other than a broken clutch cable, on my Honda CB450 Nighthawk. I think I only put 15, maybe 20K on it, and only owned it for a few years as a teenager. Even then, after a few years, it was already looking pretty beat and rusted. My Honda V65 Sabre was also quite reliable and I put 45K on that bike until the carbs gave up the ghost and rust appeared in the tank. It also looked pretty beat by that time. (All bikes I've owned have been garage kept and maintained to the same standard.)
The most reliable bike I've ever owned over time is my '92 K100RS which I've owned since new. It's an incredibly solid over-engineered platform. Even after 22 years through all kinds of environments, and more rain and mud than it has deserved to see, it's rust free. It has had a few faults along the way most notably is the exhaust system which had a design flaw from the factory, but even then it went 70,000 miles before that needed to be replaced. The rest has largely been regular maintenance with the exception of a major fault when the drive shaft u-joint failed at 92,000 that took out half the drive train. I repaired it for a cost of about $3000 which, by most peoples thinking, doesn't make sense since the bike is probably only worth $3000. But considering that the motor is probably good for another 200K and the upgrades I've done to it (Racetech front end, ohlins rear, stainless brake lines, Spiegler rotors, heated grips, throttlemeister lock, etc) and the knowledge that it'll likely go another 100K before needing to do anything like this again (and how well I know the machine) compared against purchasing a new unknown bike with increased ownership costs and a lessened ability to do work myself, it makes sense to repair versus replace, at least for me. But it's a quirky machine that's an acquired taste and definitely is not for everyone. (Given the amount of flack I get for riding such an old bike.) And I also have to admit I don't get bored easily so I tend to keep things for a very very long time. (It's the German in me.)
After what seemed like an epic push, I managed to get everything bolted back together. Yun applied his tremendous detailing talents to make the bike looks this good.
It's 23:35 and it looks like everything is in order for a 6AM departure.
If I /had/ to buy a new bike, for whatever reason, I'd be hard pressed to pick one since all bikes now seem like such technological monsters. There really isn't anything on the market these days that appeals to me and I don't think there's anything that's going to last 10 years or more.