Spanish Prime Minister Pedro Sánchez, who is on a visit to China, said Beijing should take on a greater role in addressing global challenges, including climate change, security and defence.