It's not companies that do this kind of stuff, it's people working at companies. You just jail/fine those people and all the chain of command up to the CEO. That would be an incentive to establish good procedures and not to steal on customers.
That would of course require them to strive to provide the best product or service they can rather than towards maximizing their profit, though.