Shares of electric vehicle manufacturer Rivian (RIVN) have outperformed the NVIDIA over the past six months, largely due to its massive investments in artificial intelligence (AI), particularly in autonomous driving technology. According to reports, Rivian’s investment in AI is so substantial that the company no longer expects to turn a profit by 2027.Rivian’s AI strategy includes selling vehicles to robotaxi operators, such as its recent $1.25 billion agreement with Uber Technologies to supply up to 50,000 R2 SUVs for Uber’s robotaxi fleet.