The alternative to stock buybacks is that the corporation make stupid acquisitions and try to integrate them into their processes, thereby killing them.
In fact every society which tried to take all of their money away and eliminate them as a class (more or less violently) has failed economically. Turns out when it works properly free market competition is strongest force for economic and technological progress that has ever existed.