> They need to reliably deal with an almost infinite number of edge and corner cases, each quite different from the last.
It doesn't need to be perfect. It just needs to be better than average human drivers. Sure there will be cases it can't handle. But the same is much more true for human.