I think of FoundationDB as a low level persistence layer that you can use to build a fully functional database on top with more complex querying capability. It provides the core set of semantics such as data replication, globally ordered transactions and horizontal scalability - that are all complex to build in their own right.
If you look at CRDB or TiKV design, under the hood they are also KV-stores with SQL layered on top.