Those companies worth billions like GM and Tesla perform extensive testing to prove to regulators their software isn't going to kill people and does not pose an unacceptable risk to other drivers on the road. Do you get to sidestep all that if you post your code to GitHub?
Yup, because you get to be personally responsible for any outcomes just like you would be if you were driving without ai assistance. If you aren’t comfortable building and testing an open source project then it isn’t for you.