You need planes because missles in themselves are a limited weapon. You CAN put the missles a considerable distance out, like on a ship, or even another continent - we have those already. But distance-fired missles are usually limited in the accuracy of their delivery, unless they are hitting a static target that an hour's old GPS fix is good enough to hit.
But if you want to hit something that is mobile, or moving, it takes localized target designation, and and the ability to respond to target countermeasures. And that is something that planes are good at, even if they may use short-range missles to actually deliver the payload. They can aim a laser target designator and use remote sensors to keep it locked, and guide the missle in. They can also relay ground images and intelligence back to command, for target assessment and post-strike assessment, something no missle can do.
And planes can loiter for hours over the battlefield, able to rain down death in a matter of seconds, rather than a 5 - 20 minute guided missle journey from an offshore ship. If you are infantry that calls in airsupport on the battlefield, that 5 - 20 minutes will seem like hours - and the situation on the ground is likely to have changed.
Lastly, there is a matter of cost of munitions. A plane can drop unguided and semi-guided munitions - a missle is by nature an expensive precision-targetted munition, and very expensive, especially when not taking out high-value targets (ie, other planes, ships, bunkers, assassinations, etc.). If you need to napalm the entire side of a hill to cover your infantry's flank, that is horrendously expensive very quickly. Better to have a few overflights with re-useable planes dropping unguided napalm bombs on that hilliside.
The answer is planes are not going to go away on the battlefield. But having live pilots seems less and less cost effective (at least until enemies figure out how to EMP them to destroy their CPUs, or jam the comms links, or they have to fight over a tactical nuclear battlefield that has no comms available).
Robert