You can turn off your PS4 without a controller by using the power button on the front of the console. Here's how to do it on any PS4 model.
If your PS4 controller won't charge, you can try swapping out the charging cable or checking the charging port.