Question: how to connect two pairs of airpods to one 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)