Why do we need to learn programming when AI will do the job for us in 42 years’ time?

Let me break this down into two separate questions:

Q. 1 Will AI make programmers redundant?

Q. 2 Why teach coding to children when AI will do the job?

These are very different questions with very different answers.