I know it is endlessly frustrating for M4s, interns, and other junior residents that NP/PAs essentially function as equals. But this level of responsibility is temporary for you, and permanent for them.
You are both limited in scope, and that might make you feel like your prior education is not fully appreciated. But there is a big difference, in that your educational background allows you to progress further and become truly independent practioners.
Even Albert Pujols had to spend time in the minors. But he eventually became a star in the MLB, while the rest stayed in the farm system. We have to learn how the hospital system works and gradually earn our independence, just like everyone else. I'm sure Pujols had way more experience and skill compared to others in the minors but he put in his dues.
Also, don't begrudge the NPs and PAs for their higher salaries. Although they make more money now, their income is relatively fixed, whereas your income will substantially increase. They have debt too; tuition isn't unique to medical school. Plus, don't discount the high level of social respect you are granted simply because you are a physician. Although many will treat you like a "dumb medical student" or "dumb intern", deep down, most acknowledge your accomplishments and potential. To be frank, NPs and PAs do not enjoy the same level of respect that a physician does, so to be angry at their salary is a little petty. Other highly respected professionals, like judges, scientists, or professors, are often also paid less than NP/PAs. But they are allowed to follow their passions to the full extent of their potential, just as you will in medicine. I don't think many premeds went into med school to earn a lot of money in their 20s, have barbeques every weekend, or go on a lot of vacations. Sure life goals change but you have to realize when you've moved your goal posts and stop being angry at others because you didn't have enough foresight in the past, or enough steadfastness/dedication now.