The tennis ace played against the star known for her role as Monica Geller in the iconic TV show “Friends.”