What can be used to prevent water draining off a commercial building from damaging the foundation?

What can be used to prevent water draining off a commercial building from damaging the foundation?