Apple CEO Tim Cook criticizes technology rivals for collecting user data at the cost of social polarization