What's the consequence in an autonomous vehicle? Does only _that_ vehicle lose its license? Does every vehicle with that particular revision of the ML model? The whole fleet?
The next problem is, you're assuming that the autonomous vehicle is going to be _better_ than the human; it may have more information, may be faster in its response time, but maybe in a chaotic environment, that doesn't translate into drastically improved safety. Unless of course, _everything_ on the road is self-driving (meaning, zero pedestrians, zero other vehicles, no animals,...) which is going to run into chicken-egg...