Non-members may have made covenants as well. It's not exclusive to Latter-day Saints These wouldn't include temple covenants but non-members are perfectly capable of covenanting.
If the LDS sacrament doesn't apply to them, it's simply a meaningless act and no harm done.