Equidistribution and counting under equilibrium states in negative curvature and trees : applications to Non-Archimedean Diophantine Approximation (2019)