Many generative AI projects will be abandoned after proof of concept — and not because the technology doesn't work, but because the engineering is falling short. Here's how to fix it.