...and by the way AI isn't any of the 5000!
I think you're right that many more people are in theory capable of joining the group, but not that the industry is conspiring to keep it small. If anything it's the people who have an academic history that stretches back to childhood that end up dependent on having someone to guide and grade them. Beating your own path through the wild is scary, uncertain, and often thankless, so I think you'd only want to do it if you already felt sure you were among the most motivated and dedicated members of a group.
Well, the industry is rewarding people who had the privilege to invest their childhood into one singular focus. By the time they graduate they are way above everyone else and so they can both do management and leadership while still having elite level technical skills. Most people start working on their skills in university, so I think we would see more elite engineers if companies just let them specialize over a long time, and structure the companies to allow this. Instead companies structure companies to replace engineers easily, and so the person with pre-existing technical knowledge has a huge advantage.