This cycle of fossil-fuel price spikes has felt inescapable — but thanks to rapid technology advances, it no longer is