In a filing with the Securities and Exchange Commission, Berkshire said it owned 17.85 million Alphabet shares as of Sept. 30.