The release, first previewed in June, marks Apple’s foray into an AI race that has seen US tech giants rush into ChatGPT-style technology.