Beijing, once known as a city of bikes, is returning to its roots. All it takes to obtain one from a bike-sharing service is a few taps on a smartphone.