Nvidia has agreed to acquire AI developer platform Hugging Face for $12.9 billion, in one of its largest deals to date, betting that open AI models will drive future demand even as its biggest customers build their own chips to build self-sufficiency.