Stock market today: US stocks edge lower as AI-fueled tech rally stalls