As talk of a dot-com-style AI bubble grows louder, buyers are shifting from growth-at-all-costs to consolidation and cleanup.