The verdict
It depends, said usefully. The library records show the same muscles on both sides of most pairs, so neither side wins the muscle question. Free weights train the balance and trunk work machines remove, and they carry the numbers programs track: squat, bench press, deadlift and overhead press. Machines give stable, precise loading and let you push close to failure safely, alone. Most programs use both: free-weight main lifts first, machines after for volume.
Muscles, equipment and mechanics from the PasteLift exercise library records. Sets and reps from the ACSM position stand, cited below.