Most of the money goes to heavy-duty truck makers, but auto companies will get a third.