Looking at apple snails in a very general way, most of the species do eat plants. However, the most common species by far (Pomacea bridgesii) does not eat plants, except in special circumstances when it is starving, and is thus safe in a planted aquarium.
Species like giant Canas snails and Marisia species do eat plants.