My Plantronics headset [1] has been doing most of this for years. I keep it connected to my work laptop and smartphone simultaneously and can take calls on either device with seamless switching. It also detects when it is on my ear or not.
[1]: https://www.plantronics.com/us/product/voyager-legend-uc