Sure. I think what the OP was playing around with was whether we could generalize from, as you said, "expert knowledge of the problem[s] and good algorithms" so that AI could replace components in the incumbent programming paradigms. Agreed, when the end problem is well-defined and you know how "do" machine learning, the world is your oyster.