Facebook said it is buying Mobile Technologies, a company known for its speech recognition and voice-to-voice translation technologies.