A 5-year-old has died in Detroit after a Glock pistol that an 18-month-old managed to get a hold of and was playing with accidentally discharged, striking the child in the neck, police say.