I suspect that most quality modular free float rails, whether Keymod, M-Lok or proprietary, will hold up well. My concern would be with the attachment mechanism, rather than the rail itself. Large, longer proprietary barrel nuts with multiple attachment points make sense. So do anti-rotation tabs. I'd not be worrying about flex as much as rotation or separation from the receiver because of the attachment method.
Sure, a rail can be made too thin and would be subject to flex or bending if made too thin and light. I would think that the market would separate those out pretty quickly, given the abuse that some of us put our equipment to. The issue would be a rail mounted folded front sight no longer being sighted in if the rail shifts, for whatever reason. Impact of the rail with an object under stress would bother me more that a few things hanging on it. Since I have such a front sight, and wanted a modular free float rail, I went for more sturdy construction, big fat, multi-attachment proprietary barrel nut and tight fitting anti rotation tabs. That was more important than saving a couple ounces over some of the "lightweights", although it is still ligher and more silm by far than the typical quad rail of the same length.