AI, as it is today, offers a step-change in developer productivity, but it in no way removes the need for a human.
Arguably, it enables the human to spend more time doing the things that humans are good at by taking away the repetitive stuff that we don't like.