The verdict
Not rivals: opposite sides of the same joint. Both are machine isolation lifts listed at beginner level, and both sit you down to work one muscle group with no help from the rest of the body. The seated leg curl lists the hamstrings as its only primary muscle, works through knee flexion, and is listed as a pull; sitting puts the hamstrings on more stretch at the hip than the lying version does. The leg extension lists the quadriceps as its only primary muscle, works through knee extension, and is listed as a push; it trains the quads with no help from the hips. Most leg days want both: the curl after a hinge, the extension after a squat.
Muscles, equipment, force and level from the PasteLift exercise library records for the seated leg curl and the leg extension. Sets and reps from the ACSM position stand, cited below.