The director James Cameron opposes a dam that environmentalists say would devastate the indigenous communities that live along the Xingu River.