To make computers learn, we use software that simulates neurons connected in networks like in a brain. These networks are trained with data until they can learn patterns or make predictions about what data might come next.
Methods like these help computers understand speech or recognise car number plates, so in this respect computers can learn a little bit like humans. But humans are still much better – we can learn complex concepts and a vast number of different ideas. As we still don’t fully understand how brains work, computers are unlikely to be as good at learning as humans for hundreds of years.