That will probably change sooner than you think. Now that it's commonly accepted* that AI has reached AGI status there are already movements to grant legal personhood and rights to it, which would mean legal liability for its actions. Eventually we get to the cyberpunk trope of entirely autonomous corporations that only ever hire humans for gig work and pay them in femtobitcoins or something.
* I'm not arguing what that actually means, much less, whether or not that has actually happened, just that it's what people believe, and as we are a belief-driven culture rather than a data or fact driven culture, that belief is what will drive policy.