The Dance of Innovation: Infrastructure, Social Oscillation, and the Evolution of Societies