Rivian hopes to take on Tesla with its outdoor adventure trucks and SUVs. And its deal with Amazon could help it succeed