Nexus 5x Won't Turn On
Your current phone state is bricked, You have two options


You have to flash official firmware using PC (In your case, your phone isn't even getting detected. You may need to install all drivers such as adb, properly and check it once again)
You have to go to authorized Service center to get this issue fixed.If you have warranty make this as first priority.