So you put it in a loop and tell it to find the bugs in the code it wrote. What's the issue?
But, to the underlying question, obviously as we automate more and more of our work, of course we provide less and less value. We're heading towards a future where selling thought for money isn't going to work so well.