Nvidia has gone from a gaming giant to an AI powerhouse, and it's largely thanks to its research capabilities.