A spectator was killed after he was accidentally struck by a hammer thrown by an athlete at a high school indoor athletics event in the United States.