The San Francisco Art Institute plans to end classes after this semester.