They can both be a problem. I saw a kid hitting a dike like a ramp with one of these electric dirt bikes. I've seen kids too small for these cruising around way too fast with no helmet.
Big trucks and SUVs are a much bigger problem. But that doesn't mean kids riding around on motorcycles isn't a problem either.
The point of contentions is calling them e-bikes instead mopeds or e-motos or motorcyles, which you did, but the article didn't. And they are a journalist so I hold them to higher standard.