I don't think that there is any way that this doesn't ruffle feathers and cause an outcry from the Left. It also should be noted I am not sure how the U.S. itself would handle this since Musk already owns X (Twitter) and even Vice President JD Vance hates big tech which essentially Musk would become.
People on TikTok have come out bashing the US Government over the upcoming ban on TikTok and are sadly extremely misguided with the issues with TikTok right now. First and foremost the number of TikTok's of people posting they are moving to China to keep it is hilarious since China doesn't even allow TikTok in its own country.
They have also said how this is being done so the app is US owned even when that is also not the case. China is a foreign advisory and has done numerous things to make this very very clear. TikTok though does not have to be sold to a US person or US company. It can be sold to anyone in Europe it can be sold to people or companies in Japan, South Korea, Australia, hell even Saudi Arabia. The only countries on the list of foreign advisories are China, Cuba, North Korea, Iran, Russia and Venezuela. Anyone else or any other country is good to go.
Bytedance further shot themselves in the foot when in 2021, the state-owned China Internet Investment Fund purchased a 1% stake in ByteDance's main Chinese subsidiary, Beijing ByteDance Technology (formerly Beijing Douyin Information Service), as a golden share investment. This golden share allows lets its owner outvote all other shareholders in certain circumstances. With this stake in the company China Internet Investment Fund then seated Wu Shugang, a government official with a background in government propaganda, as one of the subsidiary's board members.
If China makes it clear they will only sell to Musk it will cause massive issues within the US and in a way will make it clear that they are messing in US internal affairs which would prove the point that the law made. I could also see it causing huge issues for Musk in regards to SpaceX and Nerualink and I am not sure he would want that.