How do you get senior developers if you replace the junior developers?
Software has been an outlier in terms of its high salaries requiring only minimal training. That implies automating it will disproportionately be both easier and more valuable than many other skilled tasks.
(The suits think that's a good thing)