UBS has downgraded its rating on Rivian Automotive from neutral to sell, causing the company's stock price to fall nearly 3% in pre-market trading.