In the case of 2008's Iron Man, the film that launched the Marvel Cinematic Universe, the government forced a major change to the plot of the film in order for Marvel Studios to gain its approval.
I can still vividly remember going into 2008's original Iron Man film with low expectations, and being absolutely blown away ...