Biontech invested in the early research. Pfizer invested a lot more into manufacturing and the trials. Both are needed at different times. What Pfizer invested in was a lot lower risk (don't confuse that with low risk - it wasn't except by comparison!), but they invested far more money.
Quit trying to sell either short - without both investments we would be in lockdown yet.