Learning From Biology to Design Stimuli-Responsive Capsules