Nicholas Hoult is set to star as Lord of the Rings author J.R.R. Tolkien in a new biopic alongside Lily Collins.