AI may indeed lead to a barbell shaped distribution - lots of people with modest skills and the need for lots of awesome people. But I don't think that's necessarily a bad thing.
One of the problems with the "middle class" in the past was that there were lots of mid-level jobs in big companies but people hit a ceiling and couldn't progress. Maybe the middle hollowing out will lead to more jobs with significant opportunity and responsibility rather than ones where you get trapped because you weren't at the company early enough or all the top jobs are filled.