No. Or at least not until we develop computer systems that have human-like intelligence.
Why? Because of what programmers do, and who programmers are. Programmers are detail managers. We break problems down into the tiniest of little details. Much tinier than our bosses or customers or stakeholders believe is possible or necessary. And each one of those details requires a decision that only a human can make.
Many folks have tried to build system that will make programmers obsolete. One of the first of these was COBOL. The goal of COBOL was to make programming so much like English that customers and stakeholders could write the functional specification, and then just execute it.
That didn't work. The demand for COBOL programmers grew quickly, and so did their salaries.
Since then folks have tried lots of other strategies. One of the latest was MDA (Model Driven Architecture). The idea was that customers, stakeholders, or business analysts could draw high level UML diagrams and execute them.
That didn't work. The amount of detail necessary to adorn those diagrams with required real detail managers to step in. Real detail managers are programmers.
So, no. AI will not replace programmers any times soon. Nor will AIs be driving cars through all our neighborhoods very soon; and for exactly the same reasons. Human judgement is required.