I agree, yes public shaming is free but he also just told the world he blew up a production database. That said I'll paraphrase Tom Watson when an employee of his made a $100,000 mistake "Are you kidding? We just spent $100,000 on your training".
I feel like more people should be publicly shaming companies so that companies realize they can't pull shit without consequences. I bet you there's a whole list of companies that fire people right before they're eligible for pension benefits, and there's little employees can do.