Even with humans, it’s very common to ask them for something and get something back that’s completely different than what you wanted. Short of reading your mind, AI is going to require a lot of info to get the desired result.
So someone is going to have to gather requirements and break them down into a clear, well thought out set of instructions for the computer. That’s literally what programmers already do. We’re just programming in a different language now.