Their village is segregated from the general population, and the venues are already quite secure which would make it easier for crowd elimination. Transportation from village to venues would be easy.
Also, every athlete/coach/volunteer/judge could be vaccinated in plenty of time, a luxury the NBA did not have.