败局 is most often used in
挽回败局 ('turn around a losing situation') and
已成败局 ('already a lost cause'). It comes from
棋局 ('chess position'): a
败局 is a board position where defeat is inevitable. By extension it covers any contest, war, or business situation that has tipped past recovery.