In an industry, glorified itself with automation, it is not really that hard to find out the automation first happens within itself.
There are always higher abstraction levels and new problem domains. If you lose your job to automation as a software dev, you've gotten complacent. Put junior devs to work on the new stuff, not what you started on yourself.
Ultimately, this industry now has enough people to spare, impact is what everyone is fighting for, this applies for junior dev as well.