TikTok is improving its AI detection and releasing a new tool that lets users choose how often they see AI-generated videos.