What to do if your job has been replaced by AI and you're heading for retirement

Mature workers’ roles are being usurped by AI, just when they want to earn well in their final decade or so, and is a very real problem for more people.