The FFPs do cost money to operate. Like any promotion or advertisement, the only question is, do they generate more revenue than they cost? Obviously, virtually all of the airlines think they do.
You could argue that United fares would be lower if they didn't have to pay for those "Rhapsody in Blue" commercials.