Berkshire Hathaway rides to $30bn profit on back of investment portfolio