For years, I.B.M. has delivered on a formula: strong earnings gains with scant revenue growth.