>> easy for a professor to write his or her own book, made up of class notes
Writing a good textbook is quite a lot of work. This seems very unlikely.What will happen is a few professors will write books, and self-publish or distribute free electronic versions.
Perhaps crowd sourcing will become a popular way to write textbooks, based on a wikipedia or github collaboration model.