In full size aircraft, flying in precip or through cloud can cause an electrical charge to build up in the airframe, mostly due to friction. Since airband comm radios are AM (amplitude modulated) this can cause radio static. Static wicks help bleed off the charge and helps a lot.
Our drones use FM (frequency modulated) radio signals that are not nearly as susceptible to this type of RF interference, that and we don't usually fly in such conditions.
In any case, static build up in the airframe, due to friction, would not normally harm electronics as the airframe and the electronics within that are bonded or connected together, would be at one electrical potential with no reason to experience arcing between components. One caveat - don't fly in or near thunderstorms! All bets are off.
Not exactly related, but lateral lightning bolts have blown the wing off a glider from 5 nautical miles away from the Cb. Static build up in the airframe can attract a lightning strike. (The bolt hitting the wing turns the moisture in the carbon fiber to steam, literally blowing the structure apart. The accident I'm referring to happened in the UK and both pilots bailed out - they fared better than the glider.)