They got paid.
Note that all the crew and actors involved not only lose the joy of seeing their work on the screen: it’s a gap in their portfolio, too. The FX folks, animators, lower tier actors, all miss out on having a credit and work to show in order to build their careers.
Not every product ships or is a commercial success, and not every effort makes the final cut. While it's nice when we have external validation for our contributions, that doesn't diminish the quality, aplomb, or professionalism of the work that went into it. Plus, it still goes on your CV, and you get a story to tell.