Apple at 50 is fighting for the future of software