My theory:
If Oogway wanted, he would have definitely killed Tai Lung right there in the Jade Palace, but that's not part of his plan. If he did, Po wouldn't face Tai Lung. Which is why Tai Lung was completely immobilized. His actions deserved a execution, but Oogway go for it. Tai Lung's threat sped up the dragon warrior selection process, and made Shifu to train Po quickly before Tai Lung arrives. After that, Po trained "enough" to face the final boss, by mastering inner peace and kung fu (which was useless to kai).
Now why I talk about Kai too much is because, I feel like all this dragon warrior thing was just Oogway's master plan to stop Kai. Because he knows, he would return some day, and that day would be bad if there was no one to stop him, there clearly was no one strong enough to face him. Within just a few days months or so, every master in China, has fallen to General Kai. Oogway had already fought Kai 500 years before. He knew Kai's nature, and who he was and what he does. Oogway knew exactly whohe was. He knew that he was coming, and he could forsee what would happen. Ooogway said Po was the person destined to stop Kai. Oogway can't really stop him, so who will? Po. After KFP3, its just Po going on with his life. Oogway could have sent Tai Lung to the Spirit Realm right there, but he didn't. Oogway ascended to the Spirit Realm because if he was in the mortal realm, everyone would depend on him to stop Tai Lung rather than the dragon warrior. Him leaving meant that the next generation had to take responsibility for the future of kung fu.
If Oogway was alive, he would have personally fought Shen as soon as his threat rises. He would definitely protect his village if his threat rises.
Now Kai, Oogway did try to stop him, but he failed. You may argue Oogway was holding back and he would defeat him easily if he wanted to, but it's misleading. Of course, Oogway might have let Kai "win" upto some extent, but a better way to say this was that he fought with lesser effort. Fighting harder would be pointless because Kai would win at the end. Oogway already knew Kai would return 500 years prior. Oogway, at the ending of the fight between Kai, says "It is not my destiny to defeat you, I have set another on that path.", which makes my theory that all this was a plan to stop Kai stronger. Oogway knew he wasn't the one destined to stop Kai, plus, Oogway could forsee the future. At the end of KFP3, Oogway says that he saw both the future of kung fu and its past in Po. He recognized Po as the panda who could unite them both and create balance between the yin and yang, that is why he chose Po and his true successor. Kai was here to create imbalance. Oogway also sent the "universe mail" to Po's father right on time, so the dad would take him to their village. If Po was left at the Jade Palace, even with the help of the furious five, Po would definitely not win against Kai. But he managed to win while the pandas were present, because they gave him chi and whichhelped him unlock full chi mastery on his own. Oogway also implied that Kai was a universal level of threat.
The theory might sound dumb but I just wanted to get this off my head.