Remy Labesque, a Tesla engineer for solar roofs found a second gig designing the perfect chocolate chip shape for a chocolate company in San Francisco called Dandelion Chocolate.
Using his knowledge of industrial design and experimentation which probably meant a lot of sampling, he arrived at the pyramid shape.
You can buy them. But they used super premium chocolate so a slightly more than one pound bag costs $30!
Here's more about the process and how you can get your hands on them!