It's now a "solved problem" though. We live in the endpoint where the formula to craft an optimally revenue generating movie is not only possible but expected, and studios are designed with that expectation as a baseline.
There are certainly fewer happy accidents out there now.
I would say it's been a solved problem for all movies. We all know what sells and have for 100 years. People claiming modern movies are all sequels, prequels, and unoriginal aren't really paying attention. We've been telling the same stories for the past 2000 years with the same archetypes, skeletal plots, and emotional presentations. 4 out of 5 times I can tell you what is going to happen at any point in a given movie. All the stories have been told. Critics like to act like this or that is original, but it's really not and they know it. What makes a good movie is acting, immersiveness, humanity, and coherence.
There are certainly fewer happy accidents out there now.