We're still going to need lots of US military equipment for a long time, so agreeing to that wasn't too bad IMHO. As for the investment we'll have to see. What's the time frame? Perhaps we'll see a little more sane US after the midterms?
But yeah, this isn't a win for the EU by any means. It might be less bad for the smaller countries that might have been subjected to the Thailand deal if they had been alone though. But that's not how the far right and Russia funded anti-eu brigade will frame it.
Playing right into the US hands. They'd love to see the EU disappear so that they can bully the individual countries even harder. Don't be daft. The way to fight is to make the EU stronger, not to surrender to Washington/ Beijing/ Moscow.