Tim Cook says developers earn $17 billion