Programming in 50 years would be then formulating the textual description accurate enough to the AI will not create garbage. So basically what programming already is.
Also fixing or at least iterating the corner cases and bugs that AIs generated. Someone needs to be there to tell AI to repeat what they did until solution generated is correct.