Nvidia shares soared nearly 10% in after-hours trading, as the company beat Wall Street analyst expectations by more than $2 billion.