Gig economy drivers and subcontractors are being pushed to work dangerous hours because of rising fuel costs, a union says.