The AI term has been coopted by Hollywood notions of synthetic human-level intelligence but it really is just referring to the academic discipline which Random Forests definitely falls under and has for decades.
Still an interesting result of course.
https://books.google.com/ngrams/graph?content=artificial+int...
This is from published books, so probably less affected by popular narratives. For that, we have Google Trends!
It looks like they trade places repeatedly when constrained to news searches: https://trends.google.com/trends/explore?cat=5&date=all_2008...