Amadeus is a movie that really resonated for the reasons you mention. However, another movie that really resonated, and offers a counterpoint to you’re-either-born-with-it-or-not fatalism is Gattaca.
(Of course, one could argue that Amadeus is a “true story”, whereas Gattaca is science fiction.)