The value of the money made is relative to how much money the person has. A person going from $0 -> $5 gets more value than a person going from $1,000,000 -> $1,000,005.
But i guess we agree on one thing: Shoplifting a poor's shop is far more egregious than wall mart? Relative value of money does make sense. Its not just here but in crime too. Can you punish people who steals 1$ and 1 million dollar in same way? Bad behavior, stealing is not a binary to my eyes.
Your error is in comparing a single theft between small and large business. In reality, big business will face much more theft due to their high volume. The difference is marginal when you account for relative value. Your second example does not follow.