Chip-maker Nvidia became the world’s most valuable company after its share price climbed to an all-time high on Tuesday.