Wall Street gains in pivot back to tech, crude extends its rally