TikTok’s parent ByteDance is discussing with the US government possible arrangements to avoid a full sale of its US operations.