From Brain to Machine: How Neuroscience is Reshaping Artificial Intelligence