The Canadian Prime Minister said smaller nations were concluding that they must pursue “greater strategic autonomy” in an era of great power competition.