Nothing could ever replace a human brain. I don't think something could be built that thinks it's own thoughts, nothing artificial could do that. There are robots that are able to do what humans can do such as build things but that's because they've been programmed, they couldn't have their own random thoughts and go and do what they wanted. It's a scary thought though.