AI-Driven Layoffs and Productivity Tradeoffs