Taiwan stopped selling computer chips to South Africa this week, the first time it has cut off semiconductor supplies to punish a country over political disagreements. On Tuesday, Taiwan’s government said it would not ship certain semiconductors to South Africa anymore. Officials blamed South Africa for doing things that “undermined our national and public security.” The dispute is about where Taiwan can keep its diplomatic office in South Africa.