Speaking in southern China on Wednesday, Mr. Cook said it was important to not be a bystander in the country, Apple’s second-most important market outside of the U.S. He rejected criticism from some senators and rights groups about his participation in the state-run World Internet Conference in Wuzhen earlier this week.