I'm honestly surprised it hasn't happened before and more often. While there are some car enthusiast cops, of all the ones I've met, none were of the electric car variety. Generally just trucks and sports cars.
Most distracted driving rules are pretty broad. I was gonna write more, but it got convoluted. Basically, what the law says you can get a ticket for is very different from what you actually will. Depends on jurisdiction, but cops often have written exceptions made and even if they don't, unless they actually crash, they have other fall back "protections" such as "reasonableness" for their job. And yes, the blue line is very real, which is probably the biggest factor of all.