Prediction of Social Dynamic Agents and Long-Tailed Learning Challenges: A Survey