Zuckerberg has swung from empathetic apologies to ruthless efficiency when it comes to layoffs.