A rift is emerging among investors in some of the world’s biggest energy companies over a global campaign that aims to combat climate change by making fossil fuels as unpopular as tobacco.