Towards Next-Generation LLM-based Recommender Systems: A Survey and Beyond