Ricky Rubio sunk 19 points to lead Spain through to the FIBA World Cup semi-finals after a comfortable 90-78 win over Poland.