From health monitors and smartwatches to foldable phones and portable solar panels, demand for flexible electronics is growing rapidly. But the durability of those devices—their ability to stand up to thousands of folds, flexes and rolls—is a significant concern.