there are pros and cons with every system, for me there is no clear winning technology. failures are very rare, it's pure chance whether something happens to you or it may never happen.
let's take my example on tinat 600. i crashed at around 160k, nothing major, only handlebars twisted to the side, right shifter/lever turned inwards 45 degrees and bent derailleur hanger. it took me a few minutes to sort it out and carry on. back then i was wondering if i'd been able to carry on had my bike had hydraulic brakes and electronic gears. maybe, maybe not.
another example. on hydraepic challenge my bike fell into muddy water and the left shifter filled up with mud. shifting became stiff and jammy. in this case electronic shifting would not have been affected at all (imo), so swings and roundabouts. touch wood i haven't had a ride ending mechanical on any of my long rides so far.
i like and use hydraulic brakes on one of the bikes, they work fine and don't require attention. as for "adventure" cycling, i'm not yet convinced they are the most suitable option (for me).