well what they do is have a setlist for the day, and then play it with an automated thing. Then during the whatever breaks, the DJs will be live(tho with a delay to catch if they say something inappropriate). A lot of radio is still live tho, listen to AM more often!
And then theres satelite radio where anyone can say whatever, so theres no need for recordings or delays :3