Japanese basketball players have apologised for allegedly sleeping with prostitutes during Asia Games.