Brewing powerhouse AB InBev has committed to secure all of its purchased electricity from renewable sources by 2025.