Italy has missed out on a third consecutive World Cup after losing to Bosnia and Herzegovina in a penalty shootout on Tuesday in Zenica.