Eyewitnesses who suspected the man was attempting to lure the bot into a waiting vehicle raised alarm. The waiting car, according to reports, had three other people in it already.
The suspect is said to have dashed into a nearby house and changed his clothing but his cover was blown after residents of the house gave him up.
The other three occupants in the car sped off.
He was assaulted by the mob that arrested him and subsequently handed over to the Kotobabi police station.
Due to the head injuries he sustained, he has been sent to the hospital for treatment.
The boy is reportedly safe.