At the company’s annual September product event, Apple also demonstrated its work on artificial intelligence and other new devices.