The verdict
Same quads, same joint actions, both compound pushes, both listed at beginner level. Both work through knee extension and hip extension. The goblet squat lists the quadriceps and the glutes as primary muscles, with the adductors, the core and the upper back secondary; the leg press lists the quadriceps alone as primary, with the glutes and adductors secondary. The difference is the job. The goblet squat is the teaching squat: the front load makes it easy to sit upright and reach full depth, and its progression moves on to the barbell squat. The leg press is the quad volume: it loads the quads hard with your back supported, and its progression is to add weight, slow the lowering, or press one leg at a time. One dumbbell against a machine sled, and most leg days want the squat pattern first and the sled after it.
Muscles, equipment, force and level from the PasteLift exercise library records for the goblet squat and the leg press. Sets and reps from the ACSM position stand, cited below.