Artificial intelligence chip architect Nvidia is the first company in history valued at $4 trillion, the latest milestone achieved by the undisputed leader of the generative AI gold rush.