Deutsche Bank has hired one of its top shareholders, New York private-equity firm Cerberus Capital Management LP, as a paid adviser to help the troubled lender tackle runaway costs and boost lagging profits. The appointment of Cerberus comes as Chief Executive Christian Sewing tries to revive the German bank’s fortunes after three consecutive full-year losses, market-share declines and strategic upheaval. Cerberus President Matt Zames, the former chief operating officer of JPMorgan Chase & Co., is leading the advisory team working with Deutsche Bank, a Cerberus spokesman said. As a private-equity investor, Cerberus often provides advice for a fee to its portfolio companies. The arrangement with publicly traded Deutsche Bank, which hasn’t previously been reported, makes Cerberus the only Deutsche Bank shareholder in a paid advisory role, formally bringing a firm with skin in the game inside the bank’s operations, according to people familiar with details of the arrangement.