China, Brazil, and other major shipping nations agree to first-ever global tax on greenhouse gas emissions.