Survival of the Fittest in Cities: Agglomeration, Selection, and Polarisation