Apple should have just acquired Parse. iCloud is a mess, it's a next step for them to provide some sort of back end API for iOS developers. They're sitting on a huge pile of cash and all Tim could come up with is stock buyback.
While I agree that there needs to be a "fix" (and I have to assume one is in the works), but taking the Microsoft route of throwing money at problems until they work put them into the position they are today.