These oil companies built their businesses to withstand oil shocks.