There is difference between AMC going bankrupt and what happened in Franklin debt fund crisis.
In Franklin’s case they made bad investment bets in few of their debt funds (illiquid, low rated debt, for lot of debt issuer they were the only lender and so on). So when market crashed there was heavy redemption which they could not have sustained without value destruction. So 6 funds were frozen and lot of people’s money got stuck.
This was specific to 6 funds only and AMC did not go bankrupt, other funds of same AMC continued functioning normally.
This was more of fund management risk then AMC going bankrupt, and is possible in all funds.
Only way to prevent this is periodically reviewing funds portfolio regularly for such bad apples, and to some extent by diversification.
Coming to AMC going bankrupt, as such AMCs are tightly regulated entities by SEBI. In an unlikely event of AMC goes bust, most likley its funds will be taken over by some other AMC or a new entrant, so chances of losses to investor are really low.
For eg. when reliance capital was in bad shape, it was taken over by Nippon and all reliance MF were rebranded