The world's largest brewer has committed to sourcing 100% of its purchased electricity from renewable sources by 2025.