Tesla Motors has said its contract to supply Toyota with battery packs and motors for a rechargeable crossover will conclude this year.