With over 100 years of car building under their belt, car manufacturers still cannot make a car that doesn't kill thousands of people every year when used as intended.
When used as intended a car will not kill anybody. Accidents are caused by people misusing their cars not the cars themselves. Even then cars are getting very good at protecting the poeple inside from injury.
The analogy is not perfect but is correct.
Another analogy is buildings, software is not made anywhere near the standard the building have to be made to.