SAN FRANCISCO (Reuters) - Microsoft Corp said on Wednesday it would give away its Windows operating system to makers of smartphones and small tablets as it seeks to grab a toehold in those fast-growing markets.