Apple, complying with what it said was a request from Beijing, removed NYT apps from its store in China.