Plenty of rail companies offer this to airlines.
SNCF has the TGV AIR service in France and Deutsche Bahn offers full network access to seemingly every airline you can think of.
I had a CX boarding pass for a TGV codeshare to Lyon the other month. No Avios/TPs but my wife did get AsiaMiles from it.