No point crying about it or coping that some bubble will pop and the genie will go back in the bottle. I’m pretty confident that’s not happening, though in the distant future some society will recognize that everything that can be automated should not be automated, that society will look very different and probably won’t happen in my lifetime (it will for one, I predict bring back tailors too).
So here’s my solution, leave the field. If what you enjoyed most was creative problem solving then moving to a field that enables that is the best solution. Yes the next Ruby on Rails app will involve even lesser creativity than before, but is that the situation for the next good aeroplane? Flying car? Small modular nuclear reactor. I suspect just button pushing for that won’t work nearly as well and that’s my plan anyway.