20 or 30 years ago pilots where actually flying airliners. They were in charge of all aspects of the fly, taking all decisions themselves.
Today it's the plane itself that takes care of everything and pilots are just supervisors that only take control when there are unexpected conditions.
And that is exactly what is going to happen to developers. To me, that's the perfect analogy.
The AI will take care of most of the work and the developer will be supervising everything.