We fret about AI adding a bunch of bad code but I see that there are clear methods for avoiding/mitigating this. (Just make sure to test and otherwise verify that the code does the right thing. Make it transparent and easy to replace etc etc.)
Sure it can be used to add a bunch of technical debt but wielded right it can just add well be used to cut down the debt.
I don't remember the WSIWYG editor companies bragging about eliminating jobs by making web development more accessible.
I don't remember No-Code platforms bragging about eliminating jobs by making it easier to build your own website for your business.
I don't remember Arduino bragging about eliminating jobs by making embedded programming more accessible.
I'm not worried too much about my "job" being eliminated, I just have a really hard time giving people money who want me to end up underneath an Oakland overpass in a tent.
Sure investors and CEOs want to reduce software engineering costs, but at the end of the day software is built to serve human needs, and only humans can reason and make a judgement call about whether software systems are working well or not, and because software is so precise and deterministic, there will always need to be someone who thinks like a programmer to tell the AI what to do with sufficient precision to be useful. Sure I can imagine AGI could at some point invalidate that thinking, but I believe we are very far from that point if its even possible, and even if we do reach that point we'll need massive social change or the pitchforks will be coming out from many directions.