For 40 years, layoffs hit older workers first. AI just turned that upside down — and the catch is brutal.