People...Spiderman is JUST as good at creating gadgets as Batman...he just doesn't do it OFTEN b/c either he doesn't need them, or others build stuff for him (like Reed Richard's Sonic Gun to harm the Symbiote Suits)
It is not going to be possible for Spiderman to lose, if we are having a fight that isn't based on hypotheticals like "Batman will always find a way to win" or "he'll probably invent something to defeat Spidey's webbing"...I could just as easily say that "Spidey always finds a way to win" or "Spidey will create ultra webbing to defeat Batman's technologies"
Physically, Spidey wins, no contest.
In terms of brain-power, Batman wins *slightly* (don't forget that Spidey is a great scientist/inventor as well)
Improvisationally, I'd say they are TIED, IMHO. Batman may always have the gadget, but Spidey always can create the way out...ALWAYS. And it usually is just as cool as Bats, the way he pulls it out. Remember, in his world, Spidey is as powerful proportionally as Batman is in his...so his super-strength is not such a great tool generally...