Beijing is permitting small shipments of the chips to help leading domestic tech companies catch up with US rivals in the escalating AI race.