There's two kinds of developers. The first one would never become a manager because they like coding too much. The other one would become a manager at the first opportunity. It is obviously the second group that is benefiting from AI the most (because not everybody can be a manager).
True, there are people who are good with people. And they should totally become managers.
But there are also the third kind: who like to design the systems and let them be built by someone else..