Harvard and MIT put university courses within anyone’s reach. The company they created became a test of what people will pay for once the lecture is free.