The $2 billion start-up is facing a legal action brought by a former artificial intelligence specialist who claims a co-worker took credit for his work.