I always thought 'BA' meant 'Boeing Always'.
The original B747 was built for a competition for a large Military Freighter for the US Airforce. The competition was won by the C5 Galaxy. But the US airforce paid for the original B747.
I don't think RAF or any other European airforce pays for prototypes?