Dec 24 (Reuters) - ‌Nvidia ​has agreed ‌to buy Groq, a ​designer of high-performance ‍artificial intelligence accelerator ​chips, for $20 ​billion ⁠in cash, CNBC reported on Wednesday.