A South Dakota county drove away millions in solar energy