Stock investors are so enamored by AI that they're shrugging off war, inflation, job cuts, and an oil shock, business professor Erik Gordon said.