Nvidia, not Apple or Microsoft, became the first company to surpass a $5 trillion valuation in October, cementing its role as the engine of the AI boom through the chips it designs.