Jennifer Lopez and Alex Rodriguez buy apartment