The way I've been telling it:
- It's statistics if the goal is to figure out why it works
- It's data science if nobody cares why it works
- It's ML if nobody knows why it works
- It's AI if it's actually impossible to figure out why it works
The definitions are not quite mutually exclusive.