Well it relies on a fair and properly functioning democracy. We have a very corrupt system at the moment, people don't get what they want because politicians are bought and paid for by their donors. We need adequate defenses against this in our system, then it stops being anything to do with the altruism of the elite, because the majority regular folks are going to continue voting for the UBI or other benefits.
The other balance is the threat of revolution. Keep the population happy enough or they'll come for you.
Removing the gated community effect would also help. If the rich have to use the same services as the rest of us, then they have an incentive to ensure those services are well run. If large inheritances are effectively taxed away, then they have to ensure society provides a good platform for their children. Etc.