As the automaker defended the safety of its Model S, its request for confidentiality in exchange for repairs raised questions among legal experts.