The reason you don't see the electromagnetic force applying over large distances, even though in theory it can, like gravity, is that you don't see the type of charge concentration the way you see mass concentrations in the universe because the charge concentrations tend to sort themseleves out, they tend to equalize 