China finally made ride-hailing legal, in a way that could destroy Uber’s business model