A fight over freedom at Apple’s core