Legend Energy Services built its business helping oil producers reach farther underground. Its history reveals why solving the engineering problem and surviving the business cycle require different tools.