If your car's brakes fail and you run the red light because you had no way to stop, you are not at fault. Neither is the engineer that developed the braking system, unless they were criminally negligent.
If the software that runs the red light fails and gives everyone a green light and you run it and get in an accident, you are not at fault, and the person who wrote the code will not be going to jail, again unless they are found to be criminally negligent, or malicious.
If a systemic fault is found at any point, a recall will be done to remedy it.
This isn't some new class of problem here, this is the same old thing we have been dealing with for many years. You already rely on many many people doing their job correctly every day to not die, this is no different.
It would be a strange system which punishes humans for individual serious driving flaws but merely requires them to remedy it for introducing systematic serious driving flaws.