The question of user data ownership is at the heart of a legal battle between TikTok owner ByteDance and WeChat owner Tencent.