ByteDance, the China-based TikTok owner and political punching bag, is emerging as the nation's answer to OpenAI.