Oakland-based Block Inc. is set to layoff over 4,000 employees and its CEO cited AI as the reason.