General Motors and Lyft - a rideshare start-up - have announced a long-term strategic alliance to create an integrated network of on-demand autonomous vehicles in the US.