This isn't an AI story, it's a "completely fucking idiotic sysadmins exist" story.
Treat an AI like the idiot intern without any references you just hired. Gave the idiot intern permission to delete your production database? That's entirely on you, zero sympathy. (Actually, give any developer that power? You get what you deserve.)

