There are two things a NATO/Western military has that the Ukrainians don't fully have yet: the technology and assets you're talking about, but also officers and noncoms who've been brought up in the type of warfighting culture that can best make use of it. There's a great article from the start of the war written by a retired Army three-star here: https://www.thebulwark.com/p/i-commanded-u-s-army-europe-her...
The reason the US and Western militaries could utterly crush an opponent in places like Iraq is due to having not just cool gear, but a culture that promotes excellence in execution. Junior folks who can excel at small-unit tactics, and senior folks who have learned how to operate and orchestrate the large-scale machine over a 20-30 year career.