Apple to clean up its act by switching to renewable energy