The Guardian recently ran an article titled: "The oxygen crisis: Could the decline of oxygen in the atmosphere undermine our health and threaten human survival?)
Not to worry. The O2 released from photosynthesis comes from H2O. Thus there will never be a shortage of material for the production of O2 so long as there is water on this planet. There is no "peak oxygen."