Emergence in Multi-Agent Systems: A Safety Perspective