There are ways to run that are less damaging (better equipment, like socks and shoes, or using the technique where you largely only make contact using the balls of your feet), but it doesn't change the fact of a shock happening.
That said, it's unlikely to be so damaging to you as to outweigh its benefits. Swimming is better mostly because water has less resistance than the ground, and pushing off isn't really a shock to anything.