Block ( XYZ) announced on Thursday that it's slashing its headcount by more than 40% because intelligent technology means fewer people can do more. The company's stock jumped 24% with the news.