General Electric is buying oil and gas equipment company Lufkin Industries for $3.3 billion -- a move that will boost GE's U.S. energy business.