TAIPEI—Taiwan’s Pegatron Corp, which assembles iPhones for Apple Inc, said on Tuesday it had suspended operations at its Shanghai and Kunshan plants in China due to the strict COVID-19 protocols.