We are witnessing the end of China’s happy days when a positive image and almost unlimited capital helped its push for global influence and assets