The data you put into ExtendedNote is protected on your iPhone like other personal data, such as Contacts. The only time that data ever leaves your device is to synchronize with ExtendedNotes running on another device of yours, such as an iPad. This is done through iCloud, the same way your Contacts, Photos, or Notes are synchronized. You control the setup through iCloud. Also the AI the app uses is on your iPhone: no ExtendedNote data goes to an AI provider’s computers.