Maybe there will be a glut of smart people. Historically, that was the case until roughly WWII. Humans produced a certain fraction of smart people, but there were more smart people than jobs for them. Pikkety points out that through most of history, about 97-98% of the population was doing manual work. That started to change with the Industrial Revolution. Not until roughly WWII did an actual shortage of smart people develop. Hence the postwar boom in college education. Not until the 1990s did the nerds take over.
We think of a large group of smart people making society go as normal. Historically, it wasn't like that. The robust, the entitled, and the religious were in charge. Pikkety has a long analysis of this in his Capital and Ideology. Look who runs the Trump administration.
We're already at a smart people glut. In the US, only about half of college graduates find jobs that really need a college education. That's pre-AI. Now what?
Is AI going to do this? Quite possibly. One of the symptoms is most investment capital being sucked up by the extractive industry. We're there now with AI. The current US situation is that the economy is flat except for AI companies and data centers, which are booming and are sucking up vast resources.
Most of OPEC has been through this cycle. Venezuela, Egypt, Iran, Iraq - lots of oil, but it didn't make the countries rich.
[1] https://en.wikipedia.org/wiki/Dutch_disease