Bruce Willis, the actor best known for his work on the Die Hard films, is to retire from the industry after being diagnosed with aphasia.