This video shows steps you can take if your PS4 system unexpectedly ejects discs. This information may help a PS4 system that beeps repeatedly, as if the eject button were held down.
If these steps don't help, then please visit https://rma.scea.com where you can arrange to send your system in for service.
https://RMA.SCEA.com