Responsibility is not transitive. That's called "privity" in law. The company is responsible to the external party, and the employee is responsible to the company. If the company can't collect from the employee, that's usually the company's problem and the company's liability. See the story of the Barings Bank collapse.[1]
Not being able to apply criminal law against an AI may be a problem, but it's an insurable problem.