Bengaluru-based artificial intelligence (AI) startup Niki has raised fresh funds from a foreign investor.