I currently use an electric corral, BUT I use 2-inch wide tape and use two strands of it (including across the gate area), and it is ALWAYS hot unless I’m actually in there with the horse. A lot of the failings I’ve seen (and I’ve seen many at rides) are due to the fact that people use just a single strand, often of a very narrow rope or wire, and aren’t consistent with keeping it hot - or have not properly trained their horses to it. I have had loose horses come through my camp area and I think the size of the tape provided enough of a visual barrier - one actually started to come through and got zapped and high tailed it away. However, I’ve seen loose horses simply charge through less visually challenging corrals.
That being said, both my mares are well trained to it, and one of my mares has an uncanny ability to untie ropes (I always use some method of quick release tie) so she is not a good candidate for tying.
I had a gelding that simply would not respect an electric tape fence and would have never trusted him in it - we originally used portable corral panels for him but he was such a beast he would push the panels into all sorts of configurations - the only way those would work for him would be to anchor them to the trailer. He would have been a good candidate for tying.
As for the portable corral panels, I had my older mare actually roll herself right underneath one of those portable corral panels and my younger one cut herself on those. However, they worked great for that older mare in general.
Accidents happen with every possible containment method (I’ve twice had to cut someone else’s horse off a high line because they got a leg over the rope). I don’t think there is any one best method, but rather the best possible method for one specific horse (some do not do well tied, some do not respect electric, some who know their own strength will push corral panels around). Additionally, learn how to use whichever containment method you choose correctly and train your horse to it properly.