EV maker Rivian narrows losses in Q1, beats on revenue