Apple spends less than Microsoft on research and development