Oh, it's not as risky as it sounds. The studios use "Hollywood Accounting" tricks to make it appear as if they are losing money when in fact they are raking it in. These gross numbers are just part of the smoke-and-mirrors.
I don't know what these tricks actually are, of course, as I am not in a position to know. But I have read that they are along the lines of: part of making this movie involves building a bunch of wooden props. So the studio contracts with a company to build those props. The company is entirely owned by the same people who own the studio, so the bulk of that money was actually just shuffled from one pocket into the other, with a paltry percentage of it spent on actually paying the employees. So now it looks like they just spent a few million on props, when really they only spent a hundred thousand or so.
So that whole 900M figure is the lie they tell, that everyone knows is a lie, but everyone accepts as the truth anyway.
I read that they use similar tricks to get out of royalty payments, after the fact, apparently. It has something to do with the different ways the royalty agreements are worded. Like, so long as they own the rights to the movie, they must pay royalties on whatever they make from views. But if they sell the rights, then they have to pay some royalties on the profits from that sale, and then that's it, the royalty payments are done, they don't transfer, the story is over. So they just sell the movie to a different company they also own, at a loss, and laugh all the way to the bank.
I don't really have evidence that these things are true, but it seems to be a "given" among those in the know that this and things like this are standard operating procedure in the movie industry.