We have a plugin that uses machine learning to try to identify sentiment/toxicity (Google Perspective API Plugin), but otherwise we don’t use any sort of AI.
Similar topics are determined based on the weight applied when topics are indexed for internal search. Matches in titles are more heavily weighted than the post body.