Sir,
According to Section 17 (5) (a) of CGST Act, 2017 "input tax credit shall not be available in respect of motor vehicles and other conveyances except when they are used––
(i) for making the following taxable supplies, namely:-
(A) further supply of such vehicles or conveyances ; or
(B) transportation of passengers; or
(C) imparting training on driving, flying, navigating such vehicles or conveyances;
(ii) for transportation of goods;
Therefore if you hire the motor vehicle for use in the factory ITC in respect of GST paid on such vehicle is not available.