Waymo, the self-driving car unit that operates under Google’s parent company, has signed a deal with the ride-hailing start-up Lyft, according to two people familiar with the agreement who spoke on the condition of anonymity because they were not authorized to speak publicly. The deal calls for the companies to work together to bring autonomous vehicle technology into the mainstream through pilot projects and product development efforts, these people said.