The Ivy League school is giving $1.5 million to a community college and to a nonprofit apprenticeship program.