In the pileup example, the human driver is legally at fault. If a self driving car causes the pileup, who is at fault?
So, the mechanic who maintenanced it last?
...
We don't fault our tools, legally. We usually also don't fault the manufacturer, or the maintenance guy. We fault the people using them.