Very good question. We contacted NASA (the lady in the above video) before, and suggested to use a self-righting frame protection design, like this one in the following video, for some unforeseen incidents.
XT Flyer
Hopefully nothing bad happens for Ingenuity on the Mars. Other wise it would...