Nvidia Corp.’s shares were tumbling in after-hours trading Tuesday, after the chip giant disclosed in a regulatory filing that it expects to include charges of up to $5.5 billion in its fiscal first quarter related to licensing of its chips to the Chinese market.