It's more like complex linear regressions. The term "AI" evokes the idea of computers possessing something similar to human intelligence which it very much is not. We don't even properly understand how the human brain works.
"look Ma i'm writing my own AI algorithm!!!" ... "writes linear regression by hand in python"