Some of those issues I would expect on any new bike. Cables stretch after initial assembly so that one isnt a surprise. New forks almost always come with the incorrect amount of oil in the lowers, thats not a YT issue, thats a fork manufacturer issue.
The other stuff isnt great I would agree. They are hopefully going to set you up with a new rotor. I suppose leaving the brake lines too long is preferable to cutting them too short and not allowing the rider to re-route them if they want to? No excuse for not having the fasteners all torqued to designed values. Sounds like they are cutting corners to get product out the door?
The wheels would likely need a re-tension (if new) after the first few rides anyway, but would be interesting to see how they were out of the box I agree.
Let us know how you like it!