Apple Inc. has named John Ternus as CEO, replacing Tim Cook, signalling a shift toward AI-driven innovation and new hardware.