Activists have occupied trains, railway lines and machinery in an attempt to obstruct coal production and broadcast their message about the climate crisis.