If there was some realistic dollar amount that would guarantee recovery of existing black boxes, then sure, bill the airline for it and let them weigh the probabilities. But there isn't. The only way to prevent these types of situations from happening again is by upgrading the technology, and that has to be done in advance.
Of course, that doesn't mean we are supposed to disregard the cost of reducing externalities; nobody wants a bankrupt industry. Me, I'm not familiar with the economics of aviation, so I don't know whether the airlines should, or whether the government should require them to, make those upgrades in the near term. But at the very least, both of those statements will be true someday (due to turnover, technology improvements, etc.), and economic benefits won't have much to do with it.
[1] https://en.m.wikipedia.org/wiki/List_of_unrecovered_flight_r...