Berkshire Hathaway boosted stake in Alphabet, homebuilders in the second quarter