The outlook for the global energy transition is likely to be more volatile than investors may have expected, according to JPMorgan Chase & Co.