Wall Street is hoping that John Ternus will shift Apple’s AI strategy by spending more, pursuing larger mergers and doubling down on innovation.