The company allegedly runs an internal spying program and even prohibits employees from writing a novel about working in Silicon Valley.