Chip and AI-related stocks were largely in the red on Thursday as oil prices continued to surge amid the escalating U.S.-Israel-Iran war nearing two weeks.