AI (Machine Leaning) applies on good amount of data. An it require high end infrastructure (Memory & Processing power for computation) .
Those high end system may not be available on premise. So we may have to configure AWS to get an infrastructure to support.
I would like to recommend - Learn Machine Learning and get an idea of AWS. It will help.
Read More: Demystifying AWS Certified Solutions Architect (Associate) (SAA-C02)?