A bit more seriously there are sonic devices that have been shown to work as bird scarers. They can be programmed to emit the calls of predator birds like falcons and goshawks, but they're far too bulky and heavy to be of practical use for a drone.lol can just record the sound and just have it play when you start to fly..lol
Generally ultrasonic devices have been shown to be useless for repelling birds.