The value of a share of a stock for a typical investor is net present value of future cash flows, but the value of an entire company to one of its competitors can be something very different. As others in the thread have mentioned, the strategic value of removing a competitor can be significant.