Authorities blamed the 27-year-old, who filmed himself pretending to stab strangers, for heightening fears around needle attacks at public events.