Allen & Co.’s Sun Valley confab of billionaires and CEOs has spawned historic media mergers, but many of those deals were disasters.