Nvidia is spreading some of its wealth by investing in a portfolio of other artificial intelligence companies.