However, Congress cannot delegate a power they do not have. The US Constitution specifically states that:
> No Bill of Attainder [law to punish a particular person or company, rather than those who meet certain categories] [...] shall be passed.
> No person [that includes corporations] shall [...] be deprived of life, liberty, or property, without due process of law
These combine to limit the degree to which Congress can decide to just punish a certain company. For instance, they can certainly pass a law saying that any company that threatens national security must be sold or cease doing business. But I believe under current legal precedents Congress could NOT pass a law saying that TikTok must be sold (for no reason... just because Congress doesn't like it) or that all companies that are owned by Democrats must be sold.
Now, if TikTok actually threatens national security, then no one questions whether the President has the authority to order it sold. But "due process" requires that the decision of whether it threatens national security be made on the basis of some reasoning. They don't have to necessarily be RIGHT about whether it threatens national security, but they do at least have to have some reason for believing that it does.
ByteDance claims that the decision was completely arbitrary and based on nothing more than "the company is based in China". If that is true, then this is reminiscent of the Japanese internment camps in WWII -- nothing but plain racism on the part of the government. If that is NOT true, and TikTok threatens national security (not just Donald Trump's ego), then of course it should be sold.
I look forward to finding out the truth of the matter.