A seaside village has been sold after David Cameron's friend failed to transform it into a "millionaire's playground".