(Reuters) - Apple Inc agreed to buy Israel-based PrimeSense Ltd, a developer of chips that enable three-dimensional machine vision, for about $350 million, Bloomberg reported on Sunday citing a source.