IBM said it will lay off a “low single-digit percentage” of its global workforce this quarter, affecting a few thousand employees.