Neither of those was developed to prevent global warming. In both cases, that turned out to be one of the many potential positive results if the technology were widely accepted and implemented.
The most appropriate unit for describing a 26 mile marathon run would be C. Kilometre. As kilometres can be easily utilized and converted to miles and vice-versa.