Obviously if state governments made a deal with UPS or FedEx to deliver ballots they would include some stipulations about delivering them.
Besides, the law is no guarantee. The USPS loses plenty of packages. You have no real recourse. What are you going to do, take them to small claims court? Make the government count your ballot anyway (assuming they believe you)? Good luck with that. Such guarantees mean nothing the real world.