A law banning mobile app stores and internet hosting services from offering TikTok in the US is set to take effect on Sunday.