The oil and gas industry has been changing, and companies are looking for sustainable ways to stay attractive to investors.