ZF Friedrichshafen AG is getting some reprieve from its debt burden with the slower shift to electric cars boosting demand for key components such as gearboxes.