The popular video app stopped working shortly after signaling to users it might go offline, with a federal law barring U.S. companies from hosting or distributing TikTok set to take effect on Sunday.