Nickel oxide is a material that can 'learn' like animals and could help further artificial intelligence research