Programming is already highly automated. What is higher level languages and advanced IDEs if not automating a lot of tedious tasks that programmers used to be forced to do manually?
Applications already do this, Wordpress, Excel, etc. They turned the end users into enough of a developer. Developers are putting other devs out of jobs all the time.