Rivian beats Q1 estimates with $1.38 billion in revenue