If the monarchy wouldn't exist as an institution, a lot of that money would still go to the upkeep of the various domains that comprise it. The Buckingham palace won't disappear if the UK becomes a democracy. Assuming all of that money goes into the personal wealth of the members of the royal family is a little naive.