They fly too high for a machine gun to be effective.
And if they flew low, they would be too slow.
Maybe the answer is to turn the A-10 into an unmanned platform. That way the Pentagon folks would have their “high tech” stuff.