Software developers’ jobs have been automated and outsourced for many decades. It just so happens that demand for more software has kept up.
Just like with every job in history, the demand for SW jobs can't continue at the same high rate indefinitely, eventually you'll run out of things to digitize and monetize by moving to the internet/AppStore while also having too many candidates in the industry.
What then?