> if properly maintained
That maintenance is not free, in terms of both money and time. Anecdote time: the most maintainable vehicle I had the displeasure to own required a yearly investment of several dozen hours to grease the multitude of bearings via zerks located all throughout the chassis. The seats wore out, the heating system sprung a leak, consumables were consumed... all were fixable, but only when given an appropriate application of money and time.
Sure, that truck is still running to this day, but very rarely used - because it's simply 2-3x less fuel efficient than a newer (but still 5 years old) vehicle, and the cost-benefit ratio of maintaining it is far too high.
How much money are we willing to put into the maintenance of software? Reading through the comments of this thread - very little. If we were interested in paying, you can be fairly sure there would be a player in the industry willing to make those fixes for an appropriately large amount of money - commensurate with the time and effort required to understand and fix a 45M line codebase.