Environmental Fluctuations Modulate Microbial Competition, Diversity, And Persistence