Google is hard to compete with due to network effects, because they don't often miss tricks, and because they've invested so heavily in core R&D for so many years. The classical story about competition is that a big rich company becomes complacent and stops improving their products, opening a gap for new companies to enter, but Google hasn't really done that, they continue to tweak and try new things (arguments about search quality specifically for precise programmer queries aside).
Amazon retail is hard to compete with because it's not a very good business. They keep margins extremely low for not entirely rational reasons, which is why most of their profit now comes from AWS. AWS meanwhile does have competitors.
Buying out and closing a completely private company is harder (though not impossible, given a right price).
There's not endless liquidity in the system (until rates go to zero again).