Question: how to connect 2 pairs of airpods to macbook?
Answer: Pair both Airpods to the computer. ... 
Open Audio MIDI Setup in Applications/Utilities.
Click the + at the bottom left and select Create Multi-Output Device.
Check the boxes next to both Airpods (or any other 2+ output devices)