BP said green energy still has a ‘role to play’ in the slimmed-down group as it continues to offload parts of the business.