iOS isn't going to be open sourced any time soon. But Android is. If Autopilot is the iOS, openpilot is the Android. https://github.com/commaai/openpilot…
I believe Tesla will release its FSD technology for public use, based on Elon's claims of opening up the Tesla ecosystem for public use, such as the Supercharger network