I feel like this trivializises all software development. It happens but 99% of development is done to follow the spec or law in this case. The failures or bugs are usually not intentional. You basically saying if 1 car in the fleet breaks the law shut them down? If thats a strawman im sorry but even in software algorithm have unintentional bugs and make mistakes. The same is true for human drivers but we dont revoke their licenses when they break the law we have a proportional penalty for break. If driverless cars are speeding its a slap on the wrist. If they are driving the wrong way down the freeway the penalty would be revoking licenses
Re-read my root comment. I specifically outlined having thresholds for unintentional violations.