The verdict
Not rivals. The leg extension lists the quadriceps as its only primary muscle and trains them through knee extension, with no help from the hips. The lying leg curl lists the hamstrings as its primary muscle and trains them through knee flexion, which hip hinges do not cover. Squats and deadlifts already work both ends of the leg, so these two machines are finishers: the extension adds quad volume, the curl adds hamstring volume, and together they balance the leg day.
Muscles, equipment, force and level from the PasteLift exercise library records for the leg extension and the lying leg curl. Sets and reps from the ACSM position stand, cited below.