The C-17's production run was shaped by cost pressures, shifting military doctrine, and changing geopolitical realities.