Apple has unveiled a new artificial intelligence program called Apple Intelligence as well as a partnership with ChatGPT maker OpenAI.