Print two and screw them into the underside of your shelve.
Maximum bottle diameter is 100mm but it can be easily scaled. I also included the fusion360 files so you can edit the part to your preferences.
The part is very large, i had to put it on my print bed diagonally or it would not fit. also your print bed will probably only fit one of them at the same time, but the prints can be stacked quite well. Open file "stacked bottle holder.3mf" in prusa slicer to print 3 pieces at once.
Use brim or raft for better adhesion.
The author hasn't provided the model origin yet.