Emergent coexistence in multispecies microbial communities