I used to own a Stealth B-52 electric bike. The manufacturer shows some awesome videos on YouTube of Ronnie Renner riding them and having fun. I bought one a year ago.
It has 8 electric horsepower. Pedaling is optional, it adds perhaps less than half of one horsepower.
Worst 2-wheeled purchase ever! Sitting on the bicycle seat was hurting my ass. Standing was uncomfortable and insecure. The suspension, even the upgraded one, is poorly developed. But the killer for me was that I was overheating either the controller or the motor in just 10-15 minutes on both desert bicycle trails or on my backyard turning track. Riding bicycle trails in the woods, I thought I would get kicked out, if I showed up. The soil is too moist and soft in the woods, and this bike would leave deep ruts. And so it had to go. I sold it at the end of the year, lost my shirt on it.
And so I bought my MX at that time and lost a second shirt when Alta dropped the prices.
I tested electric pedal-assist bikes as well, but I did not like how they assisted me. They were helping only when I wanted to go slow, or helping very slightly with their low power on small uphills. But when I wanted to go fast the electric motor was refusing to help. I think most are programmed to not assist past 18mph to follow some stupid e-bike law that nobody knows or follows. Also, the assist was slow to start and also slow to end. The bike kept pulling forward when I wanted to stop.
Unlike those e-bikes, the MX was a true off-road, track, and backyard riding machine. I rode more off-road miles on it than on all my previous off-road motorcycles combined. I rediscovered the joy of simply riding a motorcycle.