Kodak had more patents in digital imaging than any other company. Why they failed is partly because they underestimated how much the overall photography market would decline and what needed to be done to be successful in the 10% that was left.
The winners were electronics companies (notably Sony and Panasonic). The losers were the photographic companies who were really chemical companies. Fujifilm was one of the few that survived because they went into (amongst other things) cosmetics and coating films for LCD screens, both of which leveraged expertise they already.