As mayors, the socialist and the plutocrat each embody outsized ideas of the city—and distinct forms of capital.