Virtual reality technology is increasingly being used as a form of therapy – treating everything from the depressive symptoms of dementia to the paranoia people develop as part of psychosis.