The Canadian government on Wednesday ordered TikTok to shutter its operations in the country, citing national security risks.