The tech behind record-setting hypercars could make electric aircraft fly farther and land more safely.