BP’s recent shareholder revolt, where almost a quarter of investors opposed the chairman, highlights a larger climate change issue for major oil company investors.