Towards Scalable Semantic Representation for Recommendation