Because they are a fire hazard:
https://www.bbc.com/news/articles/c62vk0p5dn5o
Trash compactors break the batteries in these things. A deposit could help to ensure that the vapes are disposed responsibly.
Other option: Add an "electronics" bin everywhere. Though that would be more expensive and less clear how effective it would be.