Microsoft signed a major long-term deal with the green energy arm of Canada-based Brookfield Asset Management to develop new wind and solar farms in a bid to decarbonize global energy supplies and reduce carbon emissions.