They're inexpensive when bought in bulk. If you consider that one $5 ISBN (using your figure) is for a book that sells 1000 copies, the cost is minimal. Yes, it's a large out-of-pocket expense for an individual or a small publisher, but it's recouped easily if the book sells.