Adapt or become obsolete—this is the mantra for traditional energy sectors.