1. Tom has taken some time off focusing on developing her own collection of artwork.

2. Tom has taken some time off to focus on developing her own collection of artwork.
===============
Which one is grammatical? What is the difference between 'focusing' and 'to focus'?

Both are correct. Both mean the same thing. I think the second is better, but both are correct.