McDonald's joins more than 1,000 companies that have vowed to cut its global greenhouse gas emissions as the burger chain pledged net-zero emissions by 2050.