I've had spoke trouble on the last four Trek conventional bikes I've owned. I'm 250 and sometimes carry 50+ pounds of gear. I also ride rough trails and have broken 12 gauge spokes on 36 hole rims. All the bikes had a 300# rating, but I managed to break spokes anyway.
When e-bike shopping, I wanted a hub drive, but was concerned about the spoke issue and the difficulty of repair. To eliminate the problem, I chose bikes with mag wheels rated at 450#. I've had no problems in 8 years now.
I realize these are extreme conditions and not something the average rider needs to consider, but mag wheels have been a problem solver for me. Unfortunately, this limits the selection of bikes, since only a few have mag options. Conversions are possible but difficult for hub drives since the rear mag needs an integrated motor. YMMV.