Country’s push to register foreign apps threatens to remove Facebook, Instagram and X from iPhone App Store in China.