You do not get back the money spent on a building when you demolish it. On the contrary, you must pay an additional fee for its demolition.