If you need a drill for one shelf, start with a quick search for “tool lending library” and your town’s name. Another useful phrase is “library of things.” That’s a collection of items people can borrow, and the selection varies by library.
Try calling your local library and saying, “I’m putting up a shelf this weekend. Do you lend drills, or do you know somewhere nearby that does?” You can use those same words in a neighborhood group. Someone on your street may have a drill sitting on a workbench.
Before you arrange pickup, ask, “Does it come with drill bits? When do you need it back? Is there a fee or deposit?” Knowing what comes in the case can save you a second trip.