In addition to sticking me with the bag for every online fraudulent transaction, they also levy an additional fee, which I assume offsets some or all of that cost. In fact, if it was a low-end purchase, they may make more on the chargeback fee than the original purchase.
I see no evidence of "code that detects fraud early", at least for online transactions. Any merchants ever get a call from a cc company, or issuing bank saying "hey, you know that transaction we approved a few days ago? you might not want to ship that." ? Nope.