For those who really enjoy CS fundamentals (algorithms, data structures, programming), I believe it’s still a good choice to pick it. If the doomers are right and software engineering goes away, other fields aren’t any less vulnerable.
What are the most common majors students are choosing instead of CS?
CS is definitely becoming a less profitable field, but I think blaming AI is naive and unfounded. A non-technical friend of mine tried coding with AI help for a week his opinion is that "AI is not nearly as useful as people are making it out to be". I agree. I use AI for certain small tasks, but it is WORLDS away from being able to write a full app, much less a complete architecture. It is completely incompetent in the truly difficult parts of computer science.