Self-completeness and spontaneous dimensional reduction