Ever since the release of Dark Phoenix, there has been a lot of talk about how the original ending was changed. It originally was very similar to the ending of Captain Marvel, right down to the hero flying into space and blowing up a bunch of space ships.
Now, concept artist Houston Sharp has released a piece of concept art from that original ending, and it does look very similar to what we saw at the end of Captain Marvel:
The original ending was shown to audiences, but the entire third act was changed in reshoots. Removing the similarities to Captain Marvel, including that visual as well as the Skrulls.