Diversity of planetary companionship formation