Safety regulations for E/E systems (which includes electrical and software components) in automotive are done via "self-certification" and adjudicated via post-facto liability suits. There's no FAA or FDA like regulator for automotive currently. As such, I'm not sure who would/could step in and regulate Tesla currently.
I don't understand why Tesla are still permitted to sell vehicles with this feature.