I have long believed that if it was as hard to maintain a car as it is to administer a computer, the world would stay home and read books.
It is the manufacturers' responsibility to ensure that hardware does what it is supposed to, does it correctly, and does ONLY what it is supposed to do. In the coming age of self-driving cars, personal care robotics and so forth, it is inexcusable for the builder to make defective stuff. I suspect we will have to go back to first principles instead of relying on software recipes that were invented back in the 1960's.
We will run into another level of complexity when our machines start modifying themselves for something called "better performance."
This does not answer your question, but this is a legitimate area for concern and I thank you for bringing it up.