TileMill doesn't add any extra licenses to any of its outputs.
If the data that you're using has a license, like if it's from
OpenStreetMap or a proprietary source, then that license applies
and you might have to add attribution. But if you own the data or
if it's public domain, then the result of whatever you do with
TileMill is just as unrestricted as the data itself.