The $12.9 billion deal could help Nvidia hedge against a future where its biggest customers build their own chips.