Agreed, trading is broken. The AI will often not make trades that are in there interest because they do not like you enough. Trades that would leap them ahead of rivals or save them from your invasion. 2 examples,
1 I encountered a race that was mid level 9 of 16, boxed in by slightly larger rivals and had colonizable planets behind them just out of their range. For a Harpoons I offered to expand their range, give them better industry, speed, and a few financial and terraforming techs. By value my offer was 4 times what Harpoons cost, and they said no, they wanted Massive Scale, Sing Driver, and other techs for one mid level military tech, so within 30 turns they were picked off
2 my neighbor declared war on me, I won, took out all starbases, shipyards, and almost every ship, but did not want to have to take and defend their worlds yet. I even parked transports outside their undefended last few planets, and they would not give up a tech to survive saying they did not like me enough. I check each turn a I took a planet or two and they never liked me enough to survive, so they were gone.
I would welcome seeing trading fixed in the next update, at least when it is in the AI's best interest.