The primary problem in AI, was faced by Aristotle over 2000 years ago. For AI (digital computer version) the problem isn't using a program to write another program. The problem is coming up with the first seed program to start the process (a bootstrap ... you can pull your boots on by the bootstrap). This was pointed out by Lady Ada, the first programmer. Putting together a set of pseudo-random code lines (for a Turing Machine) won't do (see other post on problem with pseudo-random numbers ... the same problem).
For Aristotle, thinking about generic cause/effect ... he saw this as a Zeno problem of infinite regress. Aristotle solved this by a wave of his Greek hand ... to simply say that there is no such thing as infinity (or infinite regress). He didn't actually defeat the argument of Zeno. By change, Aristotle was thinking of motion. So Aristotle came up with the idea of the Unmoved-Mover. But in fact, other than giving it a name, and declaring its rationality and existence out of nothing ... Aristotle can't define what that is. BTW - this is Aristotle's argument for a monotheistic deity ... though an impersonal one.