Employees can only be held accountable with severe malice.
There is a good chance that the person actually responsible (eg. The ceo or someone delegated to be responsible) will soon prefer to have AIs do the work as their quality can be quantified.
You "own" the software it creates which means you're responsible for it. If you use AI to commit crimes you'll go to jail, not the AI.