It would be hard to argue the wiretap laws apply to recording ultrasonic sounds extracting data from them. Honestly their isn't even the need for the device to store the audio, much less send it off the device.
(also there's the general problem of devices "helpfully" listening all the time for magic phrases like "Hey Siri" or "OK Google")