President-elect Donald Trump has attacked wind turbines and pledged to stop building them in his administration.