The U.S. government in April told Nvidia it would require a license to sell the chips to China, the company said in a filing, effectively halting their sales.