Breakthrough optical sensor mimics human eye, a key step toward better artificial intelligence