Departing Canadian PM Justin Trudeau has issued a chilly rebuke to Donald Trump over his threats to force Canada to become the 51st American state.