New York mayoral hopeful Zohran Mamdani was boosted by prominent US leftists at a get-out-the-vote rally, as the Democratic socialist and Donald Trump foe closed in on the city’s top job.