While they may have thought their ending was too similar to that of Captain Marvel, the original finale would have left hope for the current run of X-Men films to mean something outside of historical value.
With Dark Phoenix switching its ending to the action sequence involving the X-Men fighting the D’bari on the Mutant Containment Unit train, there is a missed opportunity for the X-Men franchise to have tied into the Marvel Cinematic Universe proper.