Annie Gaus, a San Francisco writer and producer, said she was riding to work on Wednesday in a Lyft, Uber’s biggest competitor, when she saw one of the Uber self-driving vehicles nearly crash into her.