Amazon-backed Rivian files for IPO, gears up for blockbuster year-end flotation