The CFO for the Chinese communications firm Huawei was detained by Canadian officials on a US warrant.