How can Itachi's genjutsu act on Mecha-Naruto "Robot"? In Episode 336, Itachi was seen to apply his genjutsu on Mecha-Naruto.

But Mecha-Naruto is a robot which does not have a brain but memory chip.
As it is a robot (which does not have any chakra), its battle techniques could not be copied by Kakashi's Sharingan.



Wikia-Genjutsu mentions that genjutsu can only occur by manipulation of chakra of the brain.

Then how does Itachi put genjutsu on a memory chip of a robot?
Mecha-naruto can absorb and contain chakra. This could mean that he has some kind of a chakra system. he also has a eight-trigrams seal in order to seal kurama and this confirms the previous statement. This chakra would in turn be used by his chip for its functioning similar to how the brain uses electric signals flowing through the nervous system.

The chip could be thought of a mechanical brain that uses chakra(it can sense chakra too!)and gives you all reasons why itachi could use genjutsu on mecha naruto.