The oil giant said the move would help its transition to being a lower carbon firm.