Berkshire Hathaway Inc. (BRK.A) - Get Report (BRK.B) - Get Report bought more shares of Apple Inc. (AAPL) - Get Report in the second quarter, according to an SEC filing Tuesday.

Warren Buffett's investment vehicle added more than 12 million shares of the iPhone maker during the quarter bringing its holdings to nearly 252 million shares worth more than $50 billion, a 13F filing showed.

Apple became the first company to top $1 trillion in market value earlier this month, after investors reacted positively to its latest financial results.

Buffett was also active in airlines and financial stocks.

Berkshire trimmed its holdings in United Continental Holdings Inc. (UAL) - Get Report and American Airlines Group Inc. (AAL) - Get Report but added 10 million shares of Delta Air Lines Inc. (DAL) - Get Report and more than 8 million shares of Southwest Airlines Co. (LUV) - Get Report .

It also added 2.2 million shares of Goldman Sachs Group Inc. (GS) - Get Report to its holdings, and an additional 9 million shares of U.S. Bancorp. (USB) - Get Report , according to the filing.

Berkshire also picked up almost 1.4 million shares of General Motors Co. (GM) - Get Report .

The company exited its position in Verisk Analytics Inc. (VRSK) - Get Report .

Apple and Goldman Sachs are holdings in Jim Cramer's Action Alerts PLUS member club. Want to be alerted before Jim Cramer buys or sells AAPL or GS? Learn more now.