Nvidia will invest $2 billion in Nebius Group as part of a strategic partnership to expand artificial-intelligence cloud infrastructure.