To eject a disc from an Xbox One manually, you'll need to find your console's manual eject button. It's usually located near the normal eject button.
You can format an SD card using Windows, Mac, and Android devices, and likely your digital camera too.