The Cuban government says its forces have shot and killed four people on a US-registered speedboat that entered its waters and opened fire on a patrol boat.