Box office failures hurt studios’ wallets badly. They shake investor confidence and can lead to fewer future projects. Sometimes, companies have to lay off employees or reorganize.