Warren Buffett excluded the Gates Foundation from his midyear donations for the first time since 2006, opting instead to donate thousands of Berkshire Hathaway shares worth almost $6 billion to four foundations run by his children.