Nvidia shares have nearly tripled in 2024, with investors betting on its rapid growth in GPUs and dominance in the AI space.