If it’s only as good as the data it’s trained on, garbage in / garbage out, then in my opinion it’s “machine learning,” not “artificial intelligence.”
Intelligence has to include some critical, discriminating faculty. Not just pattern matching vomit.