The mechanical engineers who design cars and the civil engineers who design the roads and bridges they traverse are held to these standards, and hold themselves to these standards. The software engineers who write code that actually controls vehicles in practice have no such culture. Relevant professional organizations like the ACM should be leading the charge, but they aren't because their membership doesn't care.
One solution is to license software engineers. What do people working in the industry think about that?