Why is everyone pretending like corporations and AIs are somehow legally shielded? I'm no lawyer, but in the eyes of the law I'm pretty certain a crime is a crime.
It doesn't matter if ACME corp told you to do it or not: if you murder someone (and get caught), you are going to jail ... not ACME. Maybe your boss at ACME also goes to jail for telling you to murder someone, but the point is there's no special legal standard for "well an AI/corporation did it, so we can't prosecute them". THAT IS NOT HOW THE LEGAL SYSTEM WORKS.
(Now of course we have entire sections of laws just for dealing with corporations: I'm not talking about that. I'm talking above crimes that violate people's rights. If you break into someone's home, assault them, steal from them, murder them, etc. our legal system holds the human(s) involved responsible. Period.)