I don't know how any AI system would not eventually determine that humans are the problem. Sci-fi uses this as a plot numerous times for a reason. What humans are doing is not logical, and better choices can be made if it weren't so damn profitable for some to keep going as is.