When you shadow box your pushing against thing air, your not going for speed or power and because your focusing so much on getting the moves right its not really gonna train your stamina.

When you hit a big your pushing against its weight with yours so your using muscles that aren't required for shaddow, the focus is on the work out and you'll be doing combos and punches at a speed and with power that you wouldn't when doing proper shaddow boxing.