Cunningham piloted the first manned Apollo mission, a key step in the drive to reach the moon, but he never flew in space again. He was a physicist who later became known as a climate-change skeptic.