Block stock jumped 20% after CEO Jack Dorsey announced 4,000 job cuts, citing AI as key to boosting efficiency and profitability.