Warren Buffett's Berkshire Hathaway took a new stake in a member of the Magnificent Seven, while lowering its stake in Apple in the third quarter.