If a tree is in a shared space, like a public sidewalk, that usually means it is public property and your homeowners insurance company would likely not cover its removal. If you feel the tree is posing a risk to your property, contact your local government to petition for its removal.