Jeremy Leggett: The oil, coal and gas industries are in deep trouble