Block CEO Jack Dorsey warns of AI's impact on jobs after announcing 40% staff cuts, aiming for a leaner, AI-driven company approach.