Samsung isn't stupid or desperate?
I think this episode clearly demonstrates that statement isn't true. They were clearly desperate to be first with the folding phone - to the extent that they held a special event a week before the Mobile World Congress where they knew others would be demonstrating folding phones, so they could announce a week earlier.
That's also why it failed so badly so quickly once in the hands of real people. They obviously did pretty much no testing of their own, because they also wanted their launch date before anyone else's which didn't leave time for testing. Their strategy appeared to be "launch and cross your fingers".
Comparing it to the Note 7 recall is extremely unfair, however. They had to recall a million phones already sold to end users, plus many more that were shipped and sitting on shelves or manufactured and waiting to ship. By comparison this was a "recall" of a probably a few dozen phones from reviewers and a delay of a product launch buyers would have known is bleeding edge immature "risky" technology.
Now depending on what the actual issue(s) are they might end up having to write off the production run, but for a $2000 niche product we're probably talking 10,000 of them that had been made so far, not two million plus Note 7s that were ultimately written off. I doubt this writeoff will even warrant mention in their quarterly results, while the Note 7's was so large it made a material impact in their quarterly earnings!
The main thing they did wrong here was letting marketing dictate schedule, so these problems were public all over the world instead of known only to Samsung employees who were testing them. That's the downside of getting all that free publicity for being "first", you also get free publicity when you face plant.