My kids are about to enter HS and have an interest in software engineering like their old man. I tell them to couple software engineering with something else, one of my kids wants to go into biology and the other astronomy. I tell them learn software dev in addition to another valuable skill because then you can apply your programming skills and differentiate yourself from the competition. I feel like only knowing development is worth less and less every year. Learning development coupled with a specialty where you can apply your development skills is where it's at IMO.
As for AI, it's definitely another tool to have in your toolset but it's not a complete replacement for software engineering knowledge and skills. I use genAI regularly to produce code but it's like having a very eager, confident, but sometimes wrong jr dev working with you. You still need to check their work and hand fit where required.