The record producers and beatmakers who shape how a recording sounds, from arranging and recording to building the track itself, paid by fees and advances plus royalty points on the master and, often, songwriting shares.
Music producers are one player in the music industry, and an industry of their own, with their own suppliers, customers, software, regulators, and money flows. This full map is on the roadmap.
Meanwhile: how music producers fit into music