There is 18.5 million BTC in circulation right now, more than 1 million BTC is lost or in dormant addresses, the biggest crypto funds and exchanges keep buying it. What happens if just a few whales will buy and control them all?
Now, do you mean all the remaining coins left to mine, or all the coins in circulation now ?
Either way, this is a ridiculous situation, and not something that would really happen.
In the light of nonsensical, I can give an extremely nonsensical answer to show how this is not something to worry about.
Let's says the whales start buying up the last of the few remaining coins, as you put it. This would shoot the price up to the stratosphere. The market cap for bitcoin currently sits at over 250 billion. Then the remaining coins that have not been bought will try to equate to that value, so one can say that this would push the price of the last bitcoin to over a billion (to keep this simple). Maybe it hits 5 billion. Whatever, this is nonsensical.
Now we are in a situation were there are no more coins left to buy, and then someone like me starts to sell a single bitcoin. I'd begin by selling tiny amounts at first so that I could draw out as much value as possible. If I am careful enough I could sell my one bitcoin for a billion dollars (since no one else is selling because all the whales are holding the last bitcoins).
OK, on the other hand, yes, please, all whales out there please buy up every last remaining bitcoin.