They are often “unprofitable” exactly because they properly optimized their taxes.
At the extreme, no Hollywood production ever makes a profit, and they aren’t taxed. The tax people aren’t stupid, and the total tax paid is actually reasonable, but it is not paid by the entity that makes the movie, but rather by actors, marketing, filmmakers, etc. They get to minimize their tax to the absolute legal minimum, while at the same time advance their business goals (primarily, shaft whoever isn’t aware of these schemes - mostly newcomers to the business)
At the extreme, no Hollywood production ever makes a profit, and they aren’t taxed. The tax people aren’t stupid, and the total tax paid is actually reasonable, but it is not paid by the entity that makes the movie, but rather by actors, marketing, filmmakers, etc. They get to minimize their tax to the absolute legal minimum, while at the same time advance their business goals (primarily, shaft whoever isn’t aware of these schemes - mostly newcomers to the business)