Berkshire also picked up stake in Occidental Petroleum.
So far, the antitrust investigation of Alphabet has focused on its advertising business.
Management expects strong data center revenue, which analysts had highlighted as an area investors were focused on.
The market brushed off bad headlines, showing how short-term trading is dominated by computer algorithms.
The S&P 500 closed at a record high for the second day in a row Thursday, but concerns about a U.S.-China trade pact and Cisco's earnings miss tempered gains.