Generally speaking, foreign students subsidize public universities by paying full sticker price for tuition, whereas US students are either in state (paying less) or often receive scholarships and support.
Foreign students are not stealing “slots” from Americans. If anything, their tuition dollars make more slots available.