Entrepreneurs who appear on the TV show “Shark Tank” get to prowl for attention and cash. But they can also end up being the prey.

Attacks come not just from the “sharks,” the popular ABC program’s panel of acerbic investors, but also from copycats who start selling knockoffs of ideas they see pitched on the show. Sometimes, contestants say, they are themselves accused of stealing someone else’s idea.

Nicki...