Non-universal electroweak extensions of the standard model and the scotogenic models