Spain's outgoing Prime Minister Pedro Sánchez has vowed to oppose cuts to workers' rights and the privatisation of public services after his PSOE party lost the snap general election to Alberto Núñez Feijóo's People's Party, which secured the most seats alongside gains by Vox.