they use the same algorithm across all of their companies so selling it would create a strong competitor and the chinese government is likely to block the sale anyways. tiktok revenue is a small slice of bytedance's income, so it makes sense to swallow the relatively small loss to keep their product intact when it's crystal clear that it's far superior to anything else atm.