The NYPD said the device thrown outside Mayor Zohran Mamdani's residence was an "improvised explosive device" capable of causing serious harm.