Location-sharing service Life360 Inc. has acquired a Fantix Inc. unit that uses artificial intelligence to offer more targeted advertising.