Production of negative electrode raw materials for lithium batteries