I wish we didn't call this AI as the term is crazily overloaded.
Those are programs. The only difference is how we write them. Not with "if"s and "for"s. We take a bunch of bits that do nothing. Then we organize them in a way so that it outputs whatever it is we want.
What kind of AI do you envision that would ever not fit that description?