And they pay a license fee to do so. Artist textbooks are not free, because they pay the rights holders to reproduce their work.
What's illegal here is unauthorized distribution. Downloading a copy of something from a public server cannot get you in trouble here. Only publishing does.