Uber has been accused of trying to poach drivers from Lyft with its ads in San Francisco.