Oil firms are increasingly building portfolios of clean energy projects to satisfy investor demands that they reduce their carbon footprint