Artificial intelligence startup Maxima has raised about $41 million from investors including Redpoint Ventures and Kleiner Perkins as it looks to automate accounting for businesses.