I think specialization won’t be going away, but it will be changing. At least it will exist until quantum computing makes AI frighteningly similar to a Human mind with super-powers. I cannot say what that would do to specialization, maybe then it would no longer make sense.
But in the shorter term, you still need specialists to design, to engineer, to build, to repair, and to direct the action, even though they would be using AI as a tool in their specialty. AI can takeover much of what doctors, lawyers, waiters, teachers etc. do, but for the foreseeable future AI cannot provide the social (psychological) element that our socially evolved brains seem to require.
Teaching is increasingly being done by non-Human means, but there is still and I believe always will be a central place for Human interaction in learning — we learn more comfortably when we connect with a respected person (specialist). When the printing press allowed the transfer of knowledge without a teacher, the teacher profession survived — in fact, it grew since this opened-up education to the masses.
It’s hard to predict the effects of technology before you use it. When they were developing the MASER (predecessor of the LASER), no one could have imagined that everyone would have at least one laser in their possession and that they would use lasers to play music, improve your eyesight, transmit data, measure the distance to the moon, trap single atoms etc.
Doctor Google is hugely useful, but we still want a specialist Human to take care of us, even if he uses AI tools to do it.
The “50 tribe” doesn’t exist in the present technological world (it may in certain non-technological societies), so I think it will likely not exist 30 years from now either.(Note: I may not have understood your question correctly)