It's not a question of thinking they're a good idea. It's a question of recognizing that global indifference to Russia's territorial ambitions put Ukraine in a situation where they don't have the luxury of thinking about long term consequences. If their choices are "Live in a world where we brought about the existence of AI killbots (a technology that is inevitably going to be developed by someone, somewhere, probably the people currently killing us, even if we do nothing) slightly faster" or "Just fucking die", they're going to pick the first one. That's not stupidity, it's just survival. The guy who cut his arm off to escape being trapped in a ravine wasn't thinking "But what if I can't open jam jars?"
Long term thinking is for people with the luxury of long term prospects.