Microsoft's new stores may mirror Apple's, but both are trying to solve similar retailing problems.