Caltech’s program is one of many online partnerships between non-profit universities and for-profit companies that have come under scrutiny.