It's actually:
1. Generate slop music no _human_ will ever listen to
2. Use a botnet to "play" this music en masse
3. Profit
This is a whole arms race, with companies (such as Beatdapp) specializing in detecting fraudulent plays.
Source: I work for a niche music retailer that struggles with the same issues on a smaller scale.