Just because a company says they are laying off workers due to AI, that doesn't mean that the reason they're being laid off is because their jobs are being replaced with AI.
And it's no surprise that it's the more expensive workers that are being laid off.