Think about this: we engineers are writers of specs, the same way as product owners are writers of specs, except they do it at a much higher level.
The high level spec (lets say the top 5%) gets passed down and we fill out the ~middle 50%. What's the rest at the bottom? It's the shoulders of giants we stand on.
So the same way as we welcome the increasing abstraction levels, from machine code to C, from C to TypeScript and GraphQL, why don't we welcome this development too?
It's not probable that we will get automated away anytime soon, and if we are, well that means AI has truly advanced, certainly something to celebrate, even if it comes at a financial loss for us.
Perhaps, once we won't get paid anymore to improve ad networks, we will have the time to do something that actually improves the human condition...
Edit: can the downvoter please elaborate?