Police say there is no ongoing threat to the community after a fatal shooting in Melbourne in the middle of the night as people made their way home from venues.