I believe the app is a collaboration between Niantic and TPC, rather then just a straight licensing. Niantic has the AR-game expertise and has very clearly learned a lot of good lessons from running Ingress for three (4?) years now, while the Pokemon Company obviously knows a lot about making a good Pokemon game and probably had a lot of creative input.