Israeli military scientists have devised a robot reportedly in the shape of a snake to spy on enemies and plant bombs.