Nauru is working on a migration and economic deal with Australia while weighing offers from China, as Canberra worries about Beijing's influence in the Pacific.