Is artificial intelligence on your iPhone a privacy risk?

Apple is rolling out AI technology that will train itself on your messages, pictures, and more — while keeping the source material private. Is it secure?