Blowout artificial-intelligence spending fills chip maker’s coffers, but the Groq deal shows that the company needs to think ...