It's no different from having a stock position in a company that's in limbo. You can't claim the tax loss and keep the position. You have to get the clearinghouse to take the position for $0 in order to claim the loss.
The studio's position is that they've already incurred the loss; now they're taking the action necessary to recognize the loss on their taxes.
The movie is an asset, it has some value, the way to determine that value is to make a good faith effort to sell it (auction or broker of some sort) and if it sells for less than you have spent making it, then you can write off the difference as a loss.
Deliberately destroying the asset and then writing off the entire amount you spent on it is probably tax fraud.
Except you can't simply sell this movie. Releasing it might lead to reputational damage if the movie is not up to par (as many sister comments have pointed out) and selling it will be even worse, as whoever buys it is now entangled with your IP in addition to possibly tarnishing your reputation.
If you destroyed it, that was your choice, but you didn't thereby incur a loss of $30M. Any more than if you had dynamited your HQ building.
If you're running "Loot Boxes Unlimited" and your business is taking off like a rocket and you invest $300 million in a new HQ, and then just as your finishing up, congress passes a law making loot boxes illegal and you're no longer going to be able to afford moving into that new HQ, you get to write off those expenses just the same. You must offset them by any gains you get from any part of it you do sell off, but you're under no obligation to sell the building, you can just keep it on the books depreciating slowly. Most companies will try to sell what they can to recoup some of those losses, because recouping any of the loss tends to be a better financial option than the write off for that same amount. But selling a building doesn't have the same legal and contractual entanglements that selling a movie might have.
Additionally a building is still useful even if you can't use it for what it was originally intended for. But who is going to buy a movie they can't release? You'd need some company with enough money to buy a produced movie (even if at a discount) who also thinks they could release it and make enough money on it to cover their costs AND who will also be willing to take on all the contractual obligations like licensing and residuals. And chances are in addition to all of that, they also have to be willing to license the various properties that the movie studio already owns (or worse, re-negotiate the rights from the original holders that the studio had already previously negotiated).
It's also important to remember that those expenses would have been written off whether or not the movie was released. My understanding here is the only difference between releasing and not releasing the movie is whether that write off occurs over 3-5 years, or all in this year
When a developer buys a property, razes it, and builds a new building there, all those costs and actions are permitted.
I find it amusing that a studio, who is almost surely getting professional tax advice with full knowledge of the facts and circumstances, is having the legality of the proposed course of action not just questioned but outright confidently asserted as contrary to the law based on an article that’s light on details.
Where's the line between "dynamited your HQ building" and "investing money into FTX"? Both are intentional activities that leads to total loss of value, but I think most people would agree that the latter is tax deductible.