Superstatistics: Consequences on gravitation and cosmology