How Expressive are Knowledge Graph Foundation Models?