AI refers to computer systems that solve problems using algorithms, while machines automate a wide variety of tasks.