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 set up a keyboard and mouse on your PS4 to browse the web and play games, but not every game will support it.