How do you define programming? If it's specifying a program that maps some inputs with some outputs, many AI systems are already able to do this, sometime even better than humans.
For example: would you be able to write a program that can recognise people faces with 80% accuracy? Probably not but AIs can do it.