Nvidia has invested $2 billion in Marvell Technology and Marvell will join the Nividia AI ecosystem, the companies said on Tuesday.