USB stands for Universal Serial Bus. Generally speaking, anything that charges with a USB cable should be using 5V. The only thing I would worry about is the device not being able to output the required amperage.
As Steve commented, the Apple is fine. So long as the PS4 controller meets the minimum power output requirements, it too will be acceptable. Below is a list of the minimum power requirements, taken from the Raspberry Pi Foundation's website.
Raspberry Pi Model A 700mA 500mA 200mA
Raspberry Pi Model B 1.2A 500mA 500mA
Raspberry Pi Model A+ 700mA 500mA 180mA
Raspberry Pi Model B+ 1.8A 600mA/1.2A (switchable) 330mA
Raspberry Pi 2 Model B 1.8A 600mA/1.2A (switchable)