But this is because they no longer get "credit" for writing books, which is exactly the point the article was making. Scientists used to write books all the time.
The reason scientists write papers is because science is fun, but writing is boring (compare: coding vs documentation). Research papers represent the bare minimum level of documentation you can get away with but still keep your job.
Books contained calcified knowledge that can be disseminated by someone familiar with the field; a non-scientist as it were. This is the point of publications of popular science.
Original research that leads to new insights into a field are more difficult to obtain, require a higher level of skill and ability and therefore should be more important to a scientific reputation.