Broadly speaking, any word can be trade marked if it is distinctive/not descriptive. Apple is distinctive for computers, but not for actual apples. As a result, I couldn't get a trade mark for 'Apple' for apples, but I could (or at least Apple did) for computers etc.