Rivian’s future hinges on the R2’s success. Here’s how the new mid-size SUV compares to the Tesla Model Y.