Lithium ion batteries are non-toxic and can be safely disposed of in landfills.  Facilities exist today to recycle lithium batteries.

Lithium ion battery fires do have toxic fumes and care has to be taken when fighting the fire.  Thankfully EVs are far less likely to have fires than a gas or diesel vehicle.