Societal Adaptation to Advanced AI