So when Codeberg gets famous what's to stop Microsoft or another behemoth from acquiring it and starting the whole cycle over again?
That doesn’t make it impossible to buy it, but all profits from a sale must flow into recognized public good efforts. The incentive to sell for huge sums is just much lower for all people involved.
Both Codeberg and sourcehut are good options when escaping the walled gardens of Big Tech :)