Apple CEO Tim Cook defends globalization, walks tightrope on privacy in rare public speech in China