Shorten owns Labor's shock election defeat