Disney’s deal gives it an ally against common rival Google, even as it opens the company up to the risks that come from Sora.