This is a very deep (and very interesting/thought provoking) question. To put it simply, it depends upon the scale used to measure primary productivity. When it comes to measuring net primary production( or NPP) per unit area, estuaries and swamps have the largest NPP. However, if you are measuring the average total amount of NPP in the world, oceans would have the highest NPP, since like you had mentioned, oceans cover 75% of the earth's surface.
I am no expert in this field, but you might find this website helpful since it goes into more depth regarding what I said:
https://globalchange.umich.edu/globalchange1/current/lectures/kling/energyflow/energyflow.html
Good luck!