> Do these type of transactions ever end up well for either the acquirer or the acquired company?
It depends on what you mean by "end up well" and who, exactly, is meant by "acquirer" and "acquired". Yes, they're lucrative and worthwhile from the point of finance people, a rarified sliver of stake-holders and the law firms who buzz around to service all these. If they weren't you would not be seeing them as much.
From the point of view of technology advancement, the professionals who want to actually WORK in these domains, and the customers who depend on the products? No. These mergers/acquisitions are at best a mixed bag and more often a downgrade, or worst of all, a career-derailing adjustment.