Bioluminescence at least in one millipede may have evolved as a way to survive in a hot, dry environment, not as a means to ward off predators, according to scientists.