A man has been arrested after injuring 15 people in a knife attack at a rubber factory in Tokyo, Japan.