Britons are being warned they risk harming fragile ecosystems and receiving a hefty fine by taking natural materials from UK beaches.