Some of the world's biggest tech companies cited AI as part of their layoff and restructuring strategy in 2025.