The shale-oil revolution that transformed the U.S. into the world’s top oil producer is entering a new phase — one that could see America’s hard-fought lead in energy erode in fewer than five years as oil production growth peters out.