The law doesn't ban them from having Chinese owners.
It bans American companies from providing services that distribute, maintain or update any sufficiently popular apps substantially owned or controlled by foreign adversaries.
TikTok could host APKs from CCP headquarters if they want to.