When Zohran Mamdani made history this week by becoming the first South Asian mayor of New York, his victory was seen as a seismic event in American politics.