MS recall captures screenshot, analyze them, extract data from them and create a database index of these things so you can search them.
Apple AI essentially provides API hooks that apps can use to expose actions and data to the model. Currently it seems Apple own apps does that but any app owner can decide to support this or not.
Two completely different approach.