Global shares fall as AI spending fears hit tech stocks after US midterms