ByteDance, the Chinese company that owns TikTok, has valued itself at $300 billion in a recent stock buyback offer.