A shock to oil supplies is rattling financial markets, driving up prices at the pump and raising fears of a bigger economic hit.