A prank by a child using artificial intelligence confused an Italian town for two days searching for a snake.