There are some business models where acquisition is the only viable way to make money.
Deepmind, Shazam, and Giphy were largely valuable because they create value for other big tech companies with respect to customer acquisition, market positioning and intellectual property. These companies had limited ability to make profits on their own.
One can still argue though that such acquisitions are still against the public interest even if they’re helpful to a class of startups.