The lawsuit, filed on Friday, alleges lithium-ion battery pack in Model S caused the electronic door systems to fail.