A Japanese soldier has been arrested after forcing his way into the Chinese embassy, a break-in that sparked anger from Beijing and contrition from Toyko.