TikTok has taken action against a series of anti-Semitic videos, which gained more than 6.5 million views.