State efforts to expand use of electric vehicles and renewable energy are getting pushback from affected communities.