Startups are applying artificial intelligence to just about everything, including the bugs in your gut.