Elon Musk says artificial intelligence will replace all our jobs. He is not the first to make this kind of prediction.
Elon Musk is a Great man, and we all should be thanking him for his contributions, especially his releasing Twitter from the clutches of the censorious State. But he's a bit of an Idiot-Savant, has made some great calls and good decisions, but also a lot of bad ones, like Hyperloop, Boring and others. His calls on AI are not bad often, but there is no way AI will ever replace ALL work, at least not for centuries.
Tom Hodgkinson is good on this at https://www.theguardian.com/technology/2023/nov/03/experts-question-elon-musk-vision-of-ai-world-without-work (I think you would like the Idler).