This “cobra” maneuver is a typical show trick of the Russian/Chinese SU27 and MIG29 series, which constitute the bulk of their modern combat aircraft. All of them can do it if the pilot is up to it.
Not the Cobra maneuver. It was more advanced than that.
The plane they showed literally could do flips in the air and turn 90 degrees.
When it did its flips, it was the somersaults that some people do at the beach. It was a classified video that somebody had sent to Art Bell, when he was doing his radio show.
It was impressive, but it hasn’t shown up in any planes, so it’s military value was probably not there. It was just fancy.