Boy's treehouse to be torn down over health and safety issues