I wouldn't spray my lettuce with roof runoff, or baby bath water, or humidifier water, or dish water - but trees, blueberries, tomatoes? It's not like bacteria is going to crawl up out of the soil, up the plant and onto the fruit. And if it was going to - there's plenty of bacteria and fungus in the soil already.
Cucumbers and basil, I might be more careful about. Primarily, because full-grown cucumbers often rest on the ground and I don't peel mine, and I don't normally wash (or cook) my basil before using it.