Software just another object
and that's what it is, just another part of the system, another object in the device.
When the law and regulation catches up. Development will adjust direction and we will then be able to seek quality, endurance and longevity.
But with the life cycle of software often shorter than it's development cycle it's hard to put much effort into creating it.