What capital gains? The governments balance sheet doesn't matter...
Think of it like the original Bitcoin wallet, its value is $0 because none of those will ever be sold.
If dividends are involved it could matter but the government basically gets 20% of dividends already and extra 4% doesn't make a huge difference.
Returning to blocking stock buybacks as price manipulation and forcing businesses to give out dividends again would actually impact revenue in a meaningful way in contrast.