Re: Summer leagues - Sponsors cover some of the team related cost. Players often live with host families and sometimes have part time jobs as well (though that is becoming more rare).
The leagues have recruiters/scouts who reach out to college coaches or vise versa. Sometimes coaches want a younger player to get more innings/at bats and finds a lower tier league for him to play in.