how the film makers, and in this case, Airbus were able to make this spectacular scene happen for the film,
A mock up of part of the aircraft, lots of CGI (
Computer-generated imagery - Wikipedia, the free encyclopedia) and a couple of big fans, I imagine.
No aviation regulations were harmed in the making of this scene.