Dollar shines as oil surge spooks investors