The chip giant Nvidia has defied concerns about the amount of cash being spent on AI technology as it reported record annual revenue of $215.9 billion.