Rideshare giant Uber plans to invest up to $1.25 billion in electric vehicle maker Rivian through 2031 to deploy as many as 50,000 autonomous robotaxis.