Consider offering high quality older bikes to community bicycle repair and redistribution organizations.
DIY repair through iFixit or other online repair resources such as The Culture of Repair & The Crucible's Bike Repair Manual & Bike Maintenance Manual, or Bikeride's repair video tutorials by bike part.
Drop-off electric bicycle batteries for recycling at Call2Recycle e-bike collection sites- which are often bike shops.