As US weekly inventory data buoyed optimism that a sustained recovery in energy demand in the world’s largest economy is underway.