The reality star couldn't outpace a democratic socialist to lead the second largest US city.