TikTok signed a deal that would sell part of the company to U.S. investors, and it could mean sweeping changes for users.