Muscle-driven, implanted endoprostheses for musculoskeletal limb reconstruction