There are many cooperatives where employees all share ownership of the enterprise, http://www.sfgate.com/business/article/Cooperatives-give-new... and this model arguably makes even more sense for knowledge-economy companies that require little in the way of physical capital, and derive the majority of their value from the talents of skilled employees.
Which is why you still have partnerships in business that are 100% service driven - consulting, law firms, etc. Software falls in between because it requires knowledge capital but it does produce something of substance that can be sold and re-sold.
Also, in partnerships you're sharing ownership because you bring something irreplaceable to the table (generally your personal relationships). Front-line developers are usually replaceable as much as they like to think they aren't. Yes, they're more expensive than a factory line worker and you can't just code 40 hours a week and churn out product like a factory worker but you're not irreplaceable. You'll find that the people who AREN'T irreplaceable, either because of some industry or domain knowledge, can usually demand increased equity or profit sharing.
If I am personally bringing $5 million in bookings each year why would I stay at a firm that just pays me a salary when I could just go out on my own. Whereas as a programmer it's not quite as cut and dry.
So the partners aren't irreplaceable I guess but their bookings have such a direct impact to the bottom line that the marginal value of them as a person is almost 100%.
If you are a skilled employee that is responsible for the bulk of a company's scaling, it's easier than ever for you to guarantee enough stock in the company to guarantee your efforts are worthwhile.
If your company isn't compensating you accordingly, you can found your own. If it's true that founders aren't that much more valuable than employees, then you should do ok, right?
It's based on the concept of "ownership." The founders literally own the company. The windfall from selling the company by definition, goes to the owners. That's how it works.
I "own" a car. The mechanic at the shop is the one doing all the grease work of changing the oil and spark plugs etc. But when I sell the car, I (the owner) get the money and not the mechanic. Even though one can argue that the mechanic is the one most responsible for keeping my car running in good enough condition to sell later, I'm still the one who owns the car. The mechanic gets his payment via service fees he charges me. The mechanic getting sweaty and dirty does not grant any ownership of my car. Ownership grants ownership. Substitute car with company. (Presumably, more mechanics happen to own their own cars which makes "ownership" of cars and its ownership benefits much more obvious to the layperson than ownership of companies.)
So, to translate your question in the most direct way, you're asking "why do owners get rewards of M&A but non-owners (such as employees) do not?" If you think of it that way, the question answers itself. It's tautology.
But your question-behind-the-question could then be, "well, why don't the employees get part ownership?" ... and the answer is, they sometimes do! One way is for the "employee" to start their own company. (S Wozniak leaves HP, and S. Jobs doesn't stay with Atari.) The other way is for other owners to grant partial ownership through stock shares (equity). This financial arrangement is almost always a tradeoff because the founder can't afford to pay market rate of full salary. Partial ownership for employees is the dangling carrot compensating for uncompetitive wages. Since established companies like Google Inc and Apple Inc offer competitive wages, they don't need to give new employees partial-ownership of any significant amount.