Instead of your production reducing the buyout cost of a ship or tile, when you buy out a ship or tile you just pay all the cost and waste all remaining production for that turn. It doesn't get stockpiled for the next turn of construction.
i didn't notice this.. but that looks like an oversight of the devs.. im hoping its on there bug radar and not considered a "feature"
With tile buyouts you pay the remaining manufacturing cost of the tile. With ships you always pay the full manufacturing cost of the ship, even if it is 99% complete.
There was a bug mentioned by the devs awhile ago where the upgrade cost of the ship listed the full price in the tool-tip, but when you actually purchase it, it only deducts the smaller correct amount.. no idea if its been fixed yet or if this is a new bug, next time u buy a ship might be worth to check the credit amount before and after.