3C Resource Sharing for Personalized Content Delivery in B5G Networks: A Contract Approach