To be pedantic about it, CS =/= software engineering. CS is a scientific field that's more closely related to math or analytic philosophy. It concerns itself with what is computationally possible, with what is tractable, with algorithm design principles, and broadly with information theory.

The scientific field doesn't have that many open problems -- whether P=NP is the greatest and most famous -- and they're set to fall like dominoes. A condition where CS is "solved" and has no major open problems is a very real near-term possibility, and probably a medium-term inevitability.

Though software engineering is a fundamentally different discipline, none of this implies that software development isn't in trouble. Human planners and software architects might remain, but very soon LLMs are going to write virtually all code.