Nature has come up with moving limbs on animals, but none of the trees seem to be tracking the sun. Branches are in fixed positions.
Many trees don't but lots of smaller plants do tilt their leaves towards then sun and can be seen easily in a timelapse. And also like the other guy posted, sunflowers famously follow the sun.
Spamming leaves is probably just the cheapest strategy?
There are some plants that track the sun, e.g. https://youtu.be/w-adcjH-xyk?si=Pcx4ucVe1oVwbdH4
It's definitely the exception rather than the rule though.