The Israeli Prime Minister's Office has strongly criticised New York City Mayor Zohran Mamdani's statement.