If AI makes junior developers "better" than senior developers then what stops senior developers from adopting the tools and becoming once again better than the juniors?
It's basically true for every profession. We even have a word for it, we call it wise. They built up an experience that they rely on during decision making and produce good results. Changing that is hard.