Trolleybuses the best compromise. Uses electricity without having downtime to charge and weight of lot of batteries and doesn't need tracks (but can still have dedicated bus lanes)