US President Joe Biden has tried to reassure the leaders of Japan and South Korea as the allies met on the sidelines of the APEC summit in Peru.