(Reuters) – Oracle Corp said it would buy NetSuite Inc in a deal valued at about $9.3 billion to expand into the fast-growing cloud market.