The state Legislature enacted legislation this year requiring ride-sharing companies to treat drivers as employees, which would let them form a union and entitle them to benefits like a minimum wage and workers compensation. But the law proposed Tuesday would exempt ride-sharing companies.