U.S. lawmakers passed a bill that could lead to a TikTok ban. But it wouldn’t be the first country block the Chinese-owned platform.