Block's stock surged 24% after the biggest AI-driven layoff yet. The market's reaction just created an instruction manual for every CEO in tech.