Proc4Gem: Foundation models for physical agency through procedural generation