Tim Cook publicly denies Apple was hacked by China’s military