BEIJING - Two Canadians detained in China on espionage were released from prison on Friday, Prime Minister Justin Trudeau said, hours after the chief financial officer of Chinese tech giant Huawei Technologies Co. was allowed to return home.