IMO the purpose of going public is primarily to make it hard to nationalize SpaceX, which some people have called for.