1) that some businesses will be profitable short term, and some in the long term and it can be worth sacrificing one for the other as you end up with a more valuable business, and, 2) sometimes you sell a business for a lot more than its value as a standalone business, for various reasons - for example it lets a big business fill in a gap in their product line, or remove a potential future competitor, or remove a low cost alternative to their existing services/products, or help them sell more of something related, or gather more data..... or are just irrational at times.
The phenomenon in two is common in technology businesses, but is not common elsewhere. its most common during bubbles.