The popular TikTok video-sharing service has joined the European Union’s code of conduct against hate speech.