> tax for the bike lanes
That already exists. In large parts of North America there isn’t a tax proportional to vehicle age, and the tax on gasoline doesn’t cover road wear (to say nothing about the unproved externality of pollution). So municipal property taxes and the like are used to cover the costs of road repair.
> electric cars.
The same way we pay for electricity and natural gas, report your kms and then have the odometer inspected on a semi regular basis and when you get rid of the car.