Amazon.com Services was hit with an employment lawsuit Tuesday on behalf of an artificial intelligence researcher who alleges that she was subjected to pregnancy and family leave discrimination as the company sought to cut corners in order to keep up with rival models from Microsoft and Google.