The federal government failed to spend billions of dollars it pledged on a host of climate change initiatives in recent years, raising questions about one of Prime Minister Justin Trudeau’s core policy commitments and the massive funding publicly devoted to it.