Toyota and Uber are partnering to bring an on-demand autonomous ride-hailing service to market, a deal that includes a $500 million investment from the Japanese automaker. Under the agreement, Toyota …