1. I think this is exactly the wrong venue to get valuable answers to this question.
2. Nonetheless, I'll give you mine as a counterpoint to the consensus:
A CS degree has never been a strict requirement for entering its field; we could debate how the value of one will change in the near future, but: nearly every other Engineering degree is a prerequisite for practice, and imho all of those other career paths are much less likely to be affected by AI than Computer 'Science' is. If you're selecting for job security, I would strongly consider one of those other avenues. And take a couple CS classes for good measure so you be well positioned to engage with AI in whatever form it does come to your field.
2. Nonetheless, I'll give you mine as a counterpoint to the consensus:
A CS degree has never been a strict requirement for entering its field; we could debate how the value of one will change in the near future, but: nearly every other Engineering degree is a prerequisite for practice, and imho all of those other career paths are much less likely to be affected by AI than Computer 'Science' is. If you're selecting for job security, I would strongly consider one of those other avenues. And take a couple CS classes for good measure so you be well positioned to engage with AI in whatever form it does come to your field.