I might be too optimistic, but I really don't think there is any reason SWE jobs would disappear. Yes, AI is a great tool, makes you more productive and we can do more with fewer people, but the thing is there’s always more work to do. In opposite, when we're able to do more, there are more ideas, opportunities opens and hence more jobs.
Unless AI automates SWE completely. Which I don't think will happen. If AI is that powerful, it would be a completely different world.
Though I think there are some things that are true right now.
* The way SWEs work is changing a lot (though I think it's just a progress that always happened) and a lot of people might not like it
* Currently there is a lot of uncertainty and FOMO in a lot of companies, how to operate, what to prioritise. Hence it might be not a great time, sometimes there are decisions like layoffs, not hiring junior developers, etc. I think that stabilises with time.