On the other hand, such regulation would serve to prevent users from enjoying the property they purchased and to facilitate exploitative practices by manufacturers and retailers. It is all the more absurd given that existing law already provides mechanisms for deterrence and punishment, namely: the notion of negligence.
I cannot stress how terrible this idea is. This would severely degrade consumer rights and do virtually nothing to protect people.
If you are messing with safety critical software then it is no help to me that you are prosecuted for negligence if I am killed.
Even if your safety critical software works it still is negligent, there should be some barrier to entry for such software. It shouldn't be out there in the wild made by whoever with no oversight.
Writing your own self driving software, go ahead, as long as your driving on private land I have no issue.