>> When was the last time a code bug took out a car or an airliner?
Apparently infrequently but it does happen a lot of people end up dying.
https://en.wikipedia.org/wiki/Aviation_accidents_and_inciden...
"The crash of Japan Airlines Flight 123 on August 12, 1985 is the single-aircraft disaster with the highest number of fatalities: 520 died on board a Boeing 747. The aircraft suffered an explosive decompression from an incorrectly repaired aft pressure bulkhead, which failed in mid flight, destroying most of its vertical stabilizer and severing all of the hydraulic lines, making the 747 virtually uncontrollable."
"On March 3, 1974, Turkish Airlines Flight 981, a McDonnell Douglas DC-10, crashed in a forest northeast of Paris, France. The London-bound plane crashed shortly after taking off from Orly airport; all 346 people on board died. It was later determined that the cargo door detached, which caused an explosive decompression; this caused the floor just above to collapse."
"On February 19, 2003, an Iranian military Ilyushin Il-76 crashed in mountainous terrain near Kerman in Iran. The official report says bad weather brought the aircraft down; high winds and fog were present at the time of the crash.[21]"
"On May 25, 1979, American Airlines Flight 191, following improper maintenance and the loss of an engine, a McDonnell Douglas DC-10-10, lost control and crashed near O'Hare International Airport in Des Plaines, Illinois. The crash resulted in the deaths of all 271 passengers and crew on board, as well as two people on the ground."
"On July 11, 1991, Nigeria Airways Flight 2120, a Douglas DC-8-61 aircraft operated by Nationair Canada, crashed in Jeddah, Saudi Arabia after two tires ignited upon takeoff, leading to an in-flight fire. All 261 people died."
I could go on, but I think you get the point.