Apple took down several popular messaging apps—including Meta’s WhatsApp—from the iPhone’s Chinese App Store on Friday to comply with an order from authorities in Beijing.