Beetles infected with parasitic worms put up less of a fight against simulated attacks from predators and rival males, according to a new study.