Its going to be similar to the software running on airplanes, you expect it to be essentially bug free(airplane software is held to a much higher standard) since you are trusting it with your life.
Except AI code inside self driving cars isn't crafted by hand, but is a matter of training data as much as code. How can you determine that a training data is "bug free" ? It barely makes any sense.