Spain's election could end Pedro Sánchez's eight years of Socialist rule as polls show the People's Party and Vox nearing the 176-seat majority mark.