Tl;dr
Rivian is making an ebike. There's no direct connection between the cranks and the rear wheel. When you pedal, you activate some sort of PAS which triggers the middrive motor to turn the rear wheel via belt drive. Pedaling also..., um... charges the battery. So you pedal the bike, to turn a generator, to power the battery, which sends power to the motor, which drives the belt, which turns the rear wheel. My head hurts...
My favorite part is what happens if the battery is empty. Your pedaling doesn't turn the rear wheel. You're forced to pedal enough energy, accepting 1/3-1/2 energy loss via mechanical and electrical inefficiencies, to propel a 90-pound bike. Thanks for revolutionizing cycling, Silicon Valley!