Artificial intelligent assistant

What is this plant with hardened fruits on the beach in Mozambique? We saw these near the Barra and Tofinho beaches in the Inhambane province in Mozambique, in July. They were hard and leathery and dry to the touch, long past something resembling edible fruit. Anybody have an idea what they might be? (just curious) ![hard beachy fruits]( Edited: Here is some context around the tree. ![beachy context](

I will take a guess that it is _Ficus racemosa_ which is found in that area. More info. If you have pictures of the rest of the tree that would be helpful.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy e50b80c2da4c3e20338da34a68e75be5