The history of computer programming is the history of people trying to automate computer programming. All that ends up ever happening is that the nature of computer programming changes.
Just think of all those assembly-language programmer jobs that were "automated away" by the invention of Fortran. Or all of those C++ programmer jobs that were "automated away" by Java, Ruby, SQL, whatever.
So far it seems that these efficiency gains have been offset by growing demands in what software can do, making the industry continue to grow. I wonder if at some point in the future, these demands will stabilise and continued improvements in efficiency will necessitate a reduction in the workforce.
Will automation make a computer programmer's job disappear? No, probably not. But will it allow one person to do the job of ten? Maybe.
[1] Technically, I think common web frameworks aren't particularly productive, because they are built around a very low common denominator. I worked on a CRUD app framework in the early 2000s that would still blow something like Rails out of the water in terms of productivity.
https://willrobotstakemyjob.com/15-1132-software-developers-...