Electric-vehicle maker Rivian Automotive Inc. is set to become a public company, hoping to carve a niche for itself offering EVs for the great outdoors.