It seems robots, when trained to interpret objects, also fall prey to optical illusions. Scientists used robots with an artificial neural network powered brain to recognize what they see.
http://www.ucl.ac.uk/media/library/robotillusions
Robots fall prey to optical illusions