A quick-thinking American Airlines grounds worker is being praised for intercepting an out-of-control catering cart that stunned onlookers and nearly struck a plane at Chicago’s O’Hare Airport on Monday.

The bizarre scene, which was captured on video, shows the unmanned vehicle spinning wildly as its cargo — including canned beverages — litters the tarmac.

“Holy crow!” one onlooker can be heard saying from inside the airport in the video posted to Twitter by Kevin Klauer, CEO of the American Osteopathic Association.

“Oh my God!” another person gasped.

“What is going on?” was the reaction of another.

American Airlines said in a statement that it appears the cart’s dizzying donut spree was caused by a jammed accelerator.

About halfway through the clip, which as of late Monday had garnered 3.5 million views, one of the half-dozen yellow-vested workers on the tarmac darted into action.

The man ran past the rotating vehicle, which moments before narrowly missed the plane, and onto another airport vehicle.

He then drove directly into the catering cart, tipping it over to finally put an end to the unusual event.

His actions drew kudos from those watching — and his employer.

“There you go!” one said. “Oh, nice!” said another.

“That’s how you do it,” a man commented.

American Airlines said in a statement, “We appreciate the quick action of our team member who stopped the vehicle.”

The airline said nobody was injured in the incident, which is still being investigated.