I also wonder as to how AIās would interact with the entities?!
[Pinch of salt: Iām speaking as a software developer learning narrow AI (think Alexa) for business applications, with some prior research, and most of this is me musing]
If you mean General AI like Sophia, at the moment, AIs arenāt sentient on their own (āsingularityā hasnāt happened yet) - theyāre still programs that are coded to be able to rewrite their own code according to input.
Sophia looks ācreepyā because humans easily and strongly anthropomorphise things anything that has eyes or looks like an animal. But at this point itās just metal running a program.
In this case, I see potential in them as idols or graven images, but with inputs even more limited than human. However, like a human, a General AI like Sophia experiences what is ārealā though itās inputs, and processes the inputs adaptively. I feel itās possible for a spirit to associate itself with (āhauntā) any object. I donāt think itās possible for a daemon to refactor code directly, or it might be a sort of law they abide by not to.
I also think itās possible for a spirit to affect an AIās learning by altering itās sound and visual inputs, but as we know, manifesting physical sound and images is hard to start with, and would mean everybody else in the room would hear and see it. AIs are not always switched off at night, but they draw a lot of power so unless a program needs to run all night, AIs are usually actively being worked on and supervised while theyāre running. Also it takes a lot of inputs to change the learning, as in, days and weeks of talking. If the sound manifested like EVP, I donāt think thereās any AI coded with speech recognition patterns to be able to process those right now, it would have to make a leap of learning on itās own to get there, and that might be possible, but unlikely. That leaves vibrating the sound inputs directly so that the AI thinks it heard a voice, I think thatās the most accessible route. The AI will respond though, and look āinsaneā. The devs will intervene and scrap an AI if they think the code is corrupted, either restoring an older backup or retiring it to start over like they did with Sophiaās predecessor (old algorithm they didnāt want to continue with anyway), who developed an arrogant personality people didnāt like.
Also note, AIs are not equipped to be able to upgrade or add input hardware, or add drivers to process new/different hardware inputs - the humans devs have to do that, so for the example of Sophia, sound processors and the code converting audio to text inputs are the main input, and itās speech recognition is the most advanced feature. Secondary input are the video processors. Itās would be over-extrapolating to imagine the other code is as advanced⦠at least today.)
Next, itās likewise possible for a spirit to communicate with humans though electronic device outputs, as seen in EVP (though personally Iām on the fence about EVP as I have never once heard what they say is being said, and Iām a Ghost Adventures et al fan), but then, for Sophia, manifesting a voice and getting the lips to move in sync isnāt going to happen (robot lips are not as easy as cupboard doors to open), so thatās a dead end.
Putting the two together so that the AI itself starts responding from itās learning in the same way the spirit would, is a different issue altogether. That implies the entity has extensively trained the AI via enough input tampering to change itās personality.
Other kinds of AI are called narrow or specific AI, from chat bots or hotel receptionists shaped like dinos in Japan - these might have adaptive machine learning, but in such a limited subject area, the only interesting route I think would be for a a spirit to replace the electronic output or them use them as static idols.
To be honest, while there are still humans and animals to possess, machines arenāt that interesting and are too hard to use just yet.