Google stock has gained 28% in 2024 but shares have ping-ponged since July amid fierce AI competition and antitrust worries.