What licensing issues? It's your phone, your data. I don't think Apple gets to say what you get to do with your data on your phone. If it was on Apple's servers, maybe they would have a case.
Plus, it's data that Apple shouldn't have been storing (in its current state, anyway) in the first place.
The data on the phone isn't observations made by the phone of the location of base stations and access points. It's just a cached subset of access point / location (and base station / location) pairs from an existing, online database.