How do I fix my tree leaves turning black when I increase their number?
Your problem is likely caused by too many transparent objects being stacked in front of each other. Cycles' rays will just try to cross a fixed amount of layers before giving up and rendering black.

You can increase this "fixed amount":

→ In the Render settings for Cycles, under Light Paths, increase the value for the Transparency bounces until the problem goes away.