Consider reuse and donation to local community members. Keep your bike working with DIY Information from 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.