I mean isn't that what we have with a self-driving car? Who do you sue when that car plows into a group of nuns that the algorithm mistook as a black hole? Who's the driver, the passenger sitting in the left front seat or the company with shitty code?