I'm some instances the ticketing agent will take it out of your passport but staple it to your boarding pass. If this happens, you will carry it with you to the gate, and when the gate agent tears your boarding pass, s/he will take the I-94 there. Either way, as long as the airline takes it at some point, you're fine.