AI Layoffs: How Algorithms Are Deciding Who Gets Cut