bitcoin TX do carry IP information. The IP address of the node that first relayed the TX is reported and is available on blockchain.info (and other block explorers as well).
These blockchain explorers only report the first node that relayed them the TX, it's just data they have generated themselves, not actually inside the TX. There's no way of knowing if that was the node that generated the TX. It may of been relayed from another previously.