Scientists have transformed blood into a material which successfully repaired bones in animals.