I'm not so sure people are doing this to avoid taxes, though, as opposed to truly wanting to remain in the market as much as possible. If I was Bezos and I had faith in Amazon, I wouldn't want to exit any of my position, especially since that can send a negative signal to the market, etc. If I could hold my position and still spend money without racking up nearly any meaningful interest, I'd happily do so, you'd kinda have to be crazy not to since there's no downside (the principal keeps on earning for you and there's very little cost to service the debt). Companies do stuff like this all the time, there are a million good reasons to maintain debt even when you have assets you could otherwise liquidate, especially when rates are low.
Besides, unless it's given away to charity the bulk of the wealth will be taxed at death anyways via estate tax, so I'm not entirely following the nefarious implications here. I guess people are mad that the borrowed and spent money effectively escapes taxes since it's paid by the estate pre-estate-tax, I guess? I'm reasonably sure that no bank would loan someone in this situation anywhere near their entire net worth, so I can't help but feel like this is a very edge-casey small issue that is only a problem in the rare years where interest rates are so low that it makes sense to do this...
But an LLC with cash in the bank that you control or owes you a favor can and will, and that's completely on the level as long as you pay AFR rates.
The biggest issue is if you keep taking loans every year, you might become over leveraged. Then if the market crashes you'll get margin called and lose everything. So this only works if your net worth is much higher than your annual spend, so your loans never reach more than around 30% of your net worth within your lifetime.
The other issue of course is that there's no guarantee your investments will be able to outperform the interest rate, especially as it will almost certainly be a variable rate. But ignoring short term fluctuations, I think it's pretty unlikely that this would be a big problem over the long term.
And the taxes you didn’t pay are compounding in your investments to more than pay the interest rate forever.