It does not say they have to sell to the US. Only divest as to no longer be considered controlled by a `foreign adversary` of the United States.[0] The bill also gives this power to future administrations.
It was literally called Protecting Americans from Foreign Adversary Controlled Applications Act.
Not, All your app are belong to us.
[0] https://en.wikipedia.org/wiki/Protecting_Americans_from_Fore...