Dwayne Johnson has agreed to a deal that will make him co-owner of the revamped XFL American football league after buying out his old WWE boss Vince McMahon.