In many past cases where new technology eliminated jobs it was accompanied by new jobs related to the new technology that the people whose jobs were eliminated could do, or could reasonably learn to do, and with good enough pay to maintain their standard of living.
Lose your job working in a horse drawn wagon factory because companies are switching to motorized trucks for deliveries? Those trucks are way more complicated to build than wagons so there should be plenty of new jobs in the truck factories.
With AI it seems much less likely for that to generate new jobs for people replaced by AI in as direct a way as trucks did for wagon makers.