China warned Canada on Saturday that there would be severe consequences if it did not immediately release Huawei Technologies Co Ltd's chief financial officer, calling the case "extremely nasty".