TikTok owner ByteDance claims it sacked an intern for "maliciously interfering" with one of its artificial intelligence projects.