'Brain-like device' mimics human learning in major computing breakthrough