The destructive potential of a car exceeds that of a lot of handguns one can buy.
There have long been techniques for writing software as formal proofs of correctness. As far as I can tell, they haven't been popular with mainstream programmers because they are simply too different.