Bit of a broad question!
Do you have a specific use case for which you'd like recommendations?
Most of the bikes I come into contact with here are mid-drives, a mix of Shimano, Bosch and Yamaha, but most don't do many miles, so unless dropped in a canal will probably last many years. No motor issues with any of them so far.
If you look on ebay at secondhand mid-drive bikes often the same is true: 1,000 miles or fewer per year, so likely to last well if looked after.
My own bike is an outlier, no issues at 22,600km.