Because those trivial offences are a nuisance. BART spent millions implementing fare gates which so far, is at a huge loss, but it's dramatically lowered maintenance cost and crime on the transit.
Similarly stores with loss prevention guards are probably losing money, but I'd much rather that than having to click a button to unlock items, etc.