Computer chip company Nvidia has struck a deal to acquire assets from startup AI chip maker Groq for a reported $20 billion.