Yeah, see that's factually incorrect and contextually a poor example.
Building mosques is an effort to exert cultural influence - in this case through religious institutions - and no different from China building Confucius institutions or the British Council in most countries, making it a separate discussion altogether.
Comparing that to short term, immediate aid that's circulated around a crisis - where there's often very few conditions attached - is wide off the mark. See Haiti or Nepal earthquakes. There's very little influence to gain out of either of those tragedies and the funding is often received from a host of different sources. The only conditions that are attached to funding tends to be around the fair and equal distribution of funds to affected parties.
That's what the aid Indonesia received in 2004 can be categorised under. So it's pretty obvious that humanitarian aid does exist.
Edit: I'm sure some countries do try to hijack this to impose their own political goals - usually if the country in question could be of strategic importance. They are, in the nicest possible way, cunts.