Artificial intelligence expert Professor Max Tegmark has predicted there is a 50 per cent that the technology could wipe out humanity altogether.