Manchester City forward Jesus Navas saved Spain's blushes by netting a late equaliser against Chile in an international friendly in Geneva.