Random Access over Multi-Packet Reception Channels: A Mean-Field Approach