Nvidia has set a record as the first company to hit $5 trillion in market capitalization. The chipmaker's shares closed…