That is crazy! Frame 11 you can see the front wheel up a bit, looks like he popped the front wheel up to kinda sling himself back up onto the bike. Definitely a whole lot of skill mix with a bit of luck right there.
That's right up there with the guy who rear-ended a car, flipped over the bars, and landed on his feet on the roof of the car. However that feat was more skill than luck. MM's is skill plus the ability to keep a cool head when stuff starts to hit the fan.