The stock rose 1.9% on Friday, participating in a broad-based rally. This reflects scrutiny on the firm’s heavy AI-related spending, especially as investors seek a more pronounced payoff.