The one-word anyone is a singular indefinite pronoun.
- Anyone would know that.
The two-word phrase any one is a more emphatic form of any, referring to a single person or thing in a group.
- Do you recognize any one of those girls?
- I don’t know any one of those words.