Computers and games are more strongly associated with avoiding dementia than socialising, Monash University research has found.