The e-commerce giant said it met a goal to match all of its electricity consumption with renewable energy seven years early and decreased overall emissions by 3% in 2023.