Not publish a book, rather what machine is needed to bind material into a book that looks just like you bought it from the store. More importantly is there a way for the public to access or rent out such a machine?
See: Bookbinding.
Stranger
I bind books for myself at home and also repair antiquarian books for the bookshop I work for.
I think it would honestly be cheaper/easier to get the materials and bind it by hand. It isn’t super-difficult to just do a basic hardback. Unless it is really large or something. What sort of thing are you looking to do? Just the one?