The firm’s Sapient arm exemplifies AI’s dynamics as it struggles with growth but is instrumental to winning new business without a pitch.