drone with expandable protective cage that deploys based on proximity to solid objects