What are the different ways in which an apex predator impacts the overall biodiversity of an ecosystem?