Italy striker Mario Balotelli is out of the Confederations Cup semi-final against Spain on Thursday because of injury.